/* Base list styles for prose */
.prose ul, .prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose ul {
    list-style-type: disc !important;
}

.prose ol {
    list-style-type: decimal !important;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0.375em;
}


/* Fix for missing styles in description tabs - Direct targeting */
#description ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

#description ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

#description li {
    margin-bottom: 0.5rem !important;
}

#description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

#description h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

#description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

#description strong {
    font-weight: 700;
    color: #111827;
}


/* ============================================
   WOOCOMMERCE MY ACCOUNT STYLES
   ============================================ */

/* My Account Container */
.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Account Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #f3f4f6;
    color: #111827;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #111827;
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Dashboard Welcome */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content p a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content p a:hover {
    text-decoration: underline;
}

/* Orders Table */
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th {
    background: #f9fafb;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:hover {
    background: #f9fafb;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    text-transform: capitalize;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status .status-completed,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status .label-completed {
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status .status-processing,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status .label-processing {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status .status-on-hold,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status .label-on-hold {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button:hover {
    background: #374151;
}

/* Addresses */
.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.woocommerce-account .woocommerce-Address {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.woocommerce-account .woocommerce-Address-title {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.woocommerce-account .woocommerce-Address-title a {
    float: right;
    font-size: 0.875rem;
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-account .woocommerce-Address-title a:hover {
    text-decoration: underline;
}

.woocommerce-account address {
    font-style: normal;
    color: #4b5563;
    line-height: 1.6;
}

/* Account Forms */
.woocommerce-account .woocommerce-MyAccount-content form {
    max-width: 600px;
}

.woocommerce-account .woocommerce-form-row {
    margin-bottom: 1.25rem;
}

.woocommerce-account .woocommerce-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.woocommerce-account .woocommerce-form-row .woocommerce-Input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.woocommerce-account .woocommerce-form-row .woocommerce-Input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.woocommerce-account .woocommerce-form-row .woocommerce-Input::placeholder {
    color: #9ca3af;
}

.woocommerce-account button.woocommerce-Button {
    padding: 0.875rem 2rem;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-account button.woocommerce-Button:hover {
    background: #374151;
}

.woocommerce-account button.woocommerce-Button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Edit Account Form */
.woocommerce-account .edit-account fieldset {
    border: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.woocommerce-account .edit-account legend {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

/* Downloads Section */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before {
    content: '✓';
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Responsive */
@media (min-width: 768px) {
    .woocommerce-account .woocommerce {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 2rem;
        align-items: start;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: sticky;
        top: 2rem;
    }
}

@media (max-width: 767px) {
    .woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding: 0.75rem;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead,
    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody {
        display: block;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead tr,
    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td {
        flex: 1;
        min-width: 100px;
        padding: 0.5rem;
        border: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td[data-title]::before {
        content: attr(data-title);
        display: block;
        font-weight: 600;
        font-size: 0.75rem;
        color: #6b7280;
        text-transform: uppercase;
        margin-bottom: 0.25rem;
    }
}

/* Logout Button */
.woocommerce-account .woocommerce-MyAccount-navigation li a[href*="logout"] {
    color: #dc2626;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a[href*="logout"]:hover {
    background: #fef2f2;
}

/* Notice Messages */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.woocommerce-account .woocommerce-message {
    background: #d1fae5;
    color: #065f46;
}

.woocommerce-account .woocommerce-info {
    background: #dbeafe;
    color: #1e40af;
}

.woocommerce-account .woocommerce-error {
    background: #fee2e2;
    color: #991b1b;
}
