/**
 * SPO WooCommerce Gateway - Template Styles
 * Version: 1.0.0
 */

:root {
    --spo-primary-color: #823e9f;
    --spo-primary-hover: #6a3382;
    --spo-success-color: #4CAF50;
    --spo-danger-color: #f44336;
    --spo-warning-color: #ff9800;
    --spo-info-color: #2196F3;
    --spo-text-color: #333;
    --spo-text-light: #666;
    --spo-border-color: #ddd;
    --spo-bg-light: #f9f9f9;
    --spo-border-radius: 8px;
    --spo-box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --spo-transition: all 0.3s ease;
}

/* ===== CARRINHO RESPONSIVO ===== */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.woocommerce-cart-form {
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: var(--spo-box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Tabela do carrinho responsiva */
@media (max-width: 768px) {
    .woocommerce table.shop_table {
        border: none;
    }
    
    .woocommerce table.shop_table thead {
        display: none;
    }
    
    .woocommerce table.shop_table tbody tr {
        border: 1px solid var(--spo-border-color);
        margin-bottom: 15px;
        padding: 15px;
        border-radius: var(--spo-border-radius);
        background: white;
        position: relative;
    }
    
    .woocommerce table.shop_table tbody td {
        display: block;
        text-align: left;
        border: none;
        padding: 8px 0;
        position: relative;
    }
    
    .woocommerce table.shop_table tbody td:before {
        content: attr(data-title) ": ";
        font-weight: bold;
        display: inline-block;
        width: 120px;
    }
    
    .woocommerce table.shop_table tbody td.product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .woocommerce table.shop_table tbody td.product-thumbnail {
        text-align: center;
        padding: 20px 0;
    }
    
    .woocommerce table.shop_table tbody td.product-thumbnail:before {
        display: none;
    }
}

/* Totais do carrinho */
.cart-collaterals {
    margin-top: 30px;
}

.cart_totals {
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: var(--spo-box-shadow);
    padding: 25px;
    max-width: 500px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .cart_totals {
        max-width: 100%;
    }
}

.cart_totals h2 {
    color: var(--spo-primary-color);
    border-bottom: 2px solid var(--spo-primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button {
    width: 100%;
    background: var(--spo-primary-color);
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: var(--spo-border-radius);
    cursor: pointer;
    transition: var(--spo-transition);
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: var(--spo-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(130, 62, 159, 0.3);
}

/* ===== LOJA RESPONSIVA ===== */
.spo-shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grid de produtos */
.spo-products-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

/* Desktop: 4 colunas */
@media (min-width: 1024px) {
    .spo-products-grid.columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .spo-products-grid.columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .spo-products-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet: 2 colunas */
@media (min-width: 551px) and (max-width: 1023px) {
    .spo-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 ou 2 colunas configurável */
@media (max-width: 550px) {
    .spo-products-grid.mobile-columns-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .spo-products-grid.mobile-columns-1 {
        grid-template-columns: 1fr;
    }
}

/* Card de produto moderno */
.spo-product-card {
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: var(--spo-box-shadow);
    overflow: hidden;
    transition: var(--spo-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spo-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.spo-product-image {
    position: relative;
    padding-top: 100%; /* Aspect ratio 1:1 */
    background: var(--spo-bg-light);
    overflow: hidden;
}

.spo-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge de desconto/novo */
.spo-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--spo-danger-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.spo-product-badge.new {
    background: var(--spo-success-color);
}

.spo-product-badge.featured {
    background: var(--spo-warning-color);
}

.spo-product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.spo-product-category {
    color: var(--spo-text-light);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spo-product-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--spo-text-color);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.spo-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.spo-price-current {
    font-size: 20px;
    font-weight: bold;
    color: var(--spo-primary-color);
}

.spo-price-original {
    font-size: 14px;
    color: var(--spo-text-light);
    text-decoration: line-through;
}

.spo-price-installment {
    font-size: 12px;
    color: var(--spo-text-light);
    width: 100%;
}

.spo-product-button {
    background: var(--spo-primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    border: none;
    border-radius: var(--spo-border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--spo-transition);
    width: 100%;
}

.spo-product-button:hover {
    background: var(--spo-primary-hover);
}

/* Mobile: Cards compactos */
@media (max-width: 550px) {
    .spo-products-grid.mobile-columns-2 .spo-product-info {
        padding: 10px;
    }
    
    .spo-products-grid.mobile-columns-2 .spo-product-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .spo-products-grid.mobile-columns-2 .spo-price-current {
        font-size: 16px;
    }
    
    .spo-products-grid.mobile-columns-2 .spo-product-button {
        padding: 8px;
        font-size: 14px;
    }
    
    .spo-products-grid.mobile-columns-2 .spo-price-installment {
        display: none;
    }
}

/* ===== FILTROS E BUSCA ===== */
.spo-shop-filters {
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: var(--spo-box-shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.spo-filters-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .spo-filters-row {
        flex-direction: column;
    }
    
    .spo-filters-row > * {
        width: 100%;
    }
}

.spo-search-box {
    flex: 1;
    min-width: 200px;
}

.spo-search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--spo-border-color);
    border-radius: var(--spo-border-radius);
    font-size: 14px;
}

.spo-filter-select {
    min-width: 150px;
}

.spo-filter-select select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--spo-border-color);
    border-radius: var(--spo-border-radius);
    background: white;
    font-size: 14px;
    cursor: pointer;
}

/* ===== PAGINAÇÃO ===== */
.spo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.spo-pagination a,
.spo-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--spo-border-color);
    border-radius: var(--spo-border-radius);
    color: var(--spo-text-color);
    text-decoration: none;
    transition: var(--spo-transition);
    min-width: 40px;
    text-align: center;
}

.spo-pagination a:hover {
    background: var(--spo-primary-color);
    color: white;
    border-color: var(--spo-primary-color);
}

.spo-pagination .current {
    background: var(--spo-primary-color);
    color: white;
    border-color: var(--spo-primary-color);
}

.spo-pagination .dots {
    border: none;
}

/* ===== LOADING STATES ===== */
.spo-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spo-spinner-large {
    width: 50px;
    height: 50px;
    border: 4px solid var(--spo-border-color);
    border-top: 4px solid var(--spo-primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== FORMULÁRIOS DE LOGIN/REGISTRO ===== */
.spo-auth-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 5px;
}

.spo-auth-card {
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    padding: 10px;
}

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

.spo-auth-header h2 {
    color: var(--spo-primary-color);
    margin-bottom: 10px;
}

.spo-auth-header p {
    color: var(--spo-text-light);
    font-size: 14px;
}

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

.spo-form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--spo-text-color);
    font-weight: 500;
}

.spo-form-group input {
    width: -webkit-fill-available;
    padding: 12px 15px;
    border: 1px solid var(--spo-border-color);
    border-radius: var(--spo-border-radius);
    font-size: 14px;
    transition: var(--spo-transition);
}

.spo-form-group input:focus {
    outline: none;
    border-color: var(--spo-primary-color);
    box-shadow: 0 0 0 3px rgba(130, 62, 159, 0.1);
}

.spo-form-actions {
    margin-top: 25px;
}

.spo-btn {
    display: flex;
    padding: 10px 50px;
    background: var(--spo-primary-color);
    color: white;
    border: none;
    border-radius: var(--spo-border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--spo-transition);
    text-align: center;
    text-decoration: none;
    width: auto;
    font-size: 1rem;
    margin-top: 2px;
    margin: 0 auto;
}

.spo-btn:hover {
    background: var(--spo-primary-hover);
    transform: translateY(-2px);
}

.spo-btn-secondary {
    background: transparent;
    color: var(--spo-primary-color);
    border: 2px solid var(--spo-primary-color);
}

.spo-btn-secondary:hover {
    background: var(--spo-primary-color);
    color: white;
}

.spo-form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--spo-border-color);
}

.spo-form-footer a {
    color: var(--spo-primary-color);
    text-decoration: none;
    font-size: 14px;
}

.spo-form-footer a:hover {
    text-decoration: underline;
}

/* ===== MENSAGENS E ALERTAS ===== */
.spo-alert {
    padding: 15px;
    border-radius: var(--spo-border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.spo-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.spo-alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.spo-alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #64b5f6;
}

.spo-alert-warning {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffb74d;
}

/* ===== CUSTOMIZAÇÃO DE CORES ===== */
body[data-spo-theme="blue"] {
    --spo-primary-color: #2196F3;
    --spo-primary-hover: #1976D2;
}

body[data-spo-theme="green"] {
    --spo-primary-color: #4CAF50;
    --spo-primary-hover: #388E3C;
}

body[data-spo-theme="red"] {
    --spo-primary-color: #f44336;
    --spo-primary-hover: #d32f2f;
}

body[data-spo-theme="orange"] {
    --spo-primary-color: #ff9800;
    --spo-primary-hover: #f57c00;
}

/* ===== MELHORIAS PARA O CARRINHO ATUAL ===== */
.woocommerce-cart .product-thumbnail img {
    max-width: 80px;
    height: auto;
    border-radius: var(--spo-border-radius);
}

.woocommerce-cart .product-name a {
    color: var(--spo-text-color);
    font-weight: 500;
    text-decoration: none;
}

.woocommerce-cart .product-name a:hover {
    color: var(--spo-primary-color);
}

.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
    color: var(--spo-primary-color);
    font-weight: bold;
}

.woocommerce-cart .actions .button {
    background: var(--spo-bg-light);
    color: var(--spo-text-color);
    border: 1px solid var(--spo-border-color);
    padding: 10px 20px;
    border-radius: var(--spo-border-radius);
    transition: var(--spo-transition);
}

.woocommerce-cart .actions .button:hover {
    background: var(--spo-primary-color);
    color: white;
    border-color: var(--spo-primary-color);
}

/* Quantidade no carrinho */
.woocommerce .quantity .qty {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--spo-border-color);
    border-radius: var(--spo-border-radius);
    text-align: center;
}

/* ===== UTILITIES ===== */
.spo-text-center { text-align: center; }
.spo-text-left { text-align: left; }
.spo-text-right { text-align: right; }
.spo-mt-10 { margin-top: 10px; }
.spo-mt-20 { margin-top: 20px; }
.spo-mt-30 { margin-top: 30px; }
.spo-mb-10 { margin-bottom: 10px; }
.spo-mb-20 { margin-bottom: 20px; }
.spo-mb-30 { margin-bottom: 30px; }
.spo-hidden { display: none; }
.spo-visible { display: block; }


/* ===== CARRINHO MELHORADO SPO ===== */
.spo-cart-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.spo-cart-container {
    background: #fff;
}

.spo-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--spo-primary-color);
    margin-bottom: 30px;
}

.spo-cart-header h1 {
    margin: 0;
    color: var(--spo-text-color);
    font-size: 28px;
}

.spo-cart-count {
    background: var(--spo-primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Layout de duas colunas */
.spo-cart-content {
    display: block;

}

@media (max-width: 991px) {
    .spo-cart-content {
        grid-template-columns: 1fr;
    }
}

/* Tabela do carrinho */
.spo-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--spo-border-radius);
    overflow: hidden;
    box-shadow: var(--spo-box-shadow);
}

.spo-cart-table thead {
    background: var(--spo-bg-light);
}

.spo-cart-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--spo-text-color);
    border-bottom: 2px solid var(--spo-border-color);
}

.spo-cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--spo-border-color);
}

.spo-cart-table tbody tr:hover {
    background: #f9f9f9;
}

/* Imagem do produto */
.spo-cart-table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--spo-border-radius);
    border: 1px solid var(--spo-border-color);
}

/* Nome do produto */
.spo-cart-table .product-name a {
    color: var(--spo-text-color);
    text-decoration: none;
    font-weight: 500;
}

.spo-cart-table .product-name a:hover {
    color: var(--spo-primary-color);
}

/* Preços */
.spo-cart-table .product-price,
.spo-cart-table .product-subtotal {
    font-weight: bold;
    color: var(--spo-primary-color);
}

/* Botão remover */
.spo-cart-table .product-remove a {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    background: #f44336;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: var(--spo-transition);
}

.spo-cart-table .product-remove a:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Campo de quantidade */
.spo-cart-table .quantity .qty {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--spo-border-color);
    border-radius: 4px;
    text-align: center;
}

/* Ações do carrinho */
.spo-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--spo-bg-light);
    border-radius: var(--spo-border-radius);
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.spo-cart-actions .coupon {
    display: flex;
    gap: 10px;
    flex: 1;
}

.spo-cart-actions .coupon input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--spo-border-color);
    border-radius: 4px;
}

.spo-cart-actions button {
    padding: 10px 20px;
    background: var(--spo-primary-color);
    color: white;
    border: none;
    border-radius: var(--spo-border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: var(--spo-transition);
}

.spo-cart-actions button:hover {
    background: var(--spo-primary-hover);
}

/* Sidebar do carrinho */
.spo-cart-sidebar {
    position: sticky;
    top: 20px;
}

.spo-cart-totals {
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: var(--spo-box-shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.spo-cart-totals h2 {
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--spo-primary-color);
    color: var(--spo-text-color);
    font-size: 20px;
}

.spo-cart-totals table {
    width: 100%;
}

.spo-cart-totals tr {
    border-bottom: 1px solid var(--spo-border-color);
}

.spo-cart-totals tr:last-child {
    border-bottom: none;
}

.spo-cart-totals th,
.spo-cart-totals td {
    padding: 12px 0;
}

.spo-cart-totals th {
    text-align: left;
    font-weight: normal;
    color: var(--spo-text-light);
}

.spo-cart-totals td {
    text-align: right;
    font-weight: bold;
}

.spo-cart-totals .order-total th,
.spo-cart-totals .order-total td {
    font-size: 18px;
    color: var(--spo-primary-color);
    padding-top: 15px;
}

/* Botão finalizar compra */
.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--spo-success-color);
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: var(--spo-border-radius);
    cursor: pointer;
    transition: var(--spo-transition);
    text-decoration: none;
    margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Segurança e informações */
.spo-cart-security,
.spo-cart-coupon-info {
    background: var(--spo-bg-light);
    padding: 20px;
    border-radius: var(--spo-border-radius);
    margin-bottom: 20px;
}

.spo-cart-security h4,
.spo-cart-coupon-info p:first-child {
    margin: 0 0 15px;
    font-weight: bold;
    color: var(--spo-text-color);
}

.spo-cart-security ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spo-cart-security li {
    padding: 5px 0;
    color: var(--spo-text-light);
}

.spo-text-muted {
    color: var(--spo-text-light);
    font-size: 14px;
}

/* Carrinho vazio */
.spo-empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--spo-border-radius);
    box-shadow: var(--spo-box-shadow);
}

.spo-empty-cart-icon {
    margin-bottom: 30px;
}

.spo-empty-cart-icon svg {
    fill: var(--spo-border-color);
}

.spo-empty-cart h2 {
    color: var(--spo-text-color);
    margin-bottom: 10px;
}

.spo-empty-cart p {
    color: var(--spo-text-light);
    margin-bottom: 30px;
}

/* Responsividade do carrinho */
@media (max-width: 768px) {
    .spo-cart-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .spo-cart-table {
        font-size: 14px;
    }
    
    .spo-cart-table thead {
        display: none;
    }
    
    .spo-cart-table tbody tr {
        display: block;
        border: 1px solid var(--spo-border-color);
        margin-bottom: 15px;
        border-radius: var(--spo-border-radius);
        padding: 15px;
    }
    
    .spo-cart-table tbody td {
        display: block;
        text-align: right;
        padding: 10px 0;
        border: none;
    }
    
    .spo-cart-table tbody td:before {
        content: attr(data-title);
        float: left;
        font-weight: bold;
        color: var(--spo-text-color);
    }
    
    .spo-cart-table .product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .spo-cart-table .product-thumbnail {
        text-align: center;
        float: none;
    }
    
    .spo-cart-actions {
        flex-direction: column;
    }
    
    .spo-cart-actions .coupon {
        width: 100%;
    }
    
    .spo-cart-sidebar {
        position: static;
    }
}

.spo-cart-actions { 
    display: none;
}

.cart-subtotal {
    display: none;
}

.recurring-totals {
    display: none;
}


.order-total.recurring-total {
    display: none;
}

.checkout-button.button.alt.wc-forward.wp-element-button {
    width: auto;
    font-size: 1rem;
}

.wc-block-order-confirmation-billing-address {
    display: none;
}

.wc-block-order-confirmation-summary {
    display: none;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    display: none;
}

.wp-block-heading {
    display: none;
}


.wp-block-woocommerce-order-confirmation-status.wc-block-order-confirmation-status.alignwide.has-font-size.has-large-font-size {
    display: none;
}

.wp-block-woocommerce-order-confirmation-totals.wc-block-order-confirmation-totals.alignwide {
    display: none;
}

.my_account_subscriptions.my_account_orders.woocommerce-orders-table.woocommerce-MyAccount-subscriptions.shop_table.shop_table_responsive.woocommerce-orders-table--subscriptions th {
    font-size: 1.1rem;
    padding: 5px;
}

.my_account_subscriptions.my_account_orders.woocommerce-orders-table.woocommerce-MyAccount-subscriptions.shop_table.shop_table_responsive.woocommerce-orders-table--subscriptions td {
    font-size: 0.85rem;
    padding: 1px;
}


.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 0.5rem;
}


.woocommerce-button.button.view.wp-element-button {
    background-color: var(--wp--preset--color--contrast);
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: inherit;
    padding-top: 0.50rem;
    padding-right: 0.75rem;
    padding-bottom: 0.50rem;
    padding-left: 0.75rem;
    text-decoration: none;
}


@media (max-width: 768px) {
    .woocommerce table.shop_table tbody td:before {
        content: attr(data-title) ": ";
        font-weight: bold;
        display: inline-block;
        width: auto;
    }
}

.woocommerce-page table.shop_table {
    width: 100%;
    font-size: 1rem;
}

.woocommerce-page table.shop_table td, .woocommerce-page table.shop_table th {
    padding: 0.1em;
}

.woocommerce-button.button.subscription_renewal_early.wp-element-button {
    font-size: 0.9rem;
    padding-top: 0.25rem;
    padding-right: 1.8rem;
    padding-bottom: 0.25rem;
    padding-left: 1.8rem;
}

.woocommerce-button.button.cancel.wcs_block_ui_on_click.wp-element-button {
    font-size: 0.9rem;
    padding-top: 0.25rem;
    padding-right: 1.8rem;
    padding-bottom: 0.25rem;
    padding-left: 1.8rem;
}

.order-again {
    display: none;
}

.woocommerce-customer-details {
    display: none;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address {
    display: none;
}

.woocommerce-button.button.cancel.wcs_block_ui_on_click.wp-element-button {
    display: none;
}

#account_display_name_description {
    display: none;
}

.woocommerce-input-wrapper {
    display: none;
}

.woocommerce-form-login-toggle {
    display: none;
}