/* General Styles */
.plm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e1e1e;
    line-height: 1.6;
}

.plm-container h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.plm-container h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.plm-container h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.plm-container h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.plm-container p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Links */
.plm-container a {
    color: #2271b1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.plm-container a:hover {
    color: #135e96;
    text-decoration: underline;
}

.plm-container a:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* Buttons should not have underline on hover */
.plm-button:hover {
    text-decoration: none;
}

/* Description Lists */
.plm-container dl {
    margin-bottom: 1.5rem;
}

.plm-container dt {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.plm-container dd {
    margin-left: 0;
    margin-bottom: 1rem;
}

/* Lists */
.plm-container ul,
.plm-container ol {
    margin: 0 0 1.5rem 1.25rem;
    padding: 0;
}

.plm-container li {
    margin-bottom: 0.5rem;
}

/* Code and Pre */
.plm-container code,
.plm-container pre {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.9375rem;
    background: #f6f7f7;
    border-radius: 3px;
}

.plm-container code {
    padding: 0.2em 0.4em;
}

.plm-container pre {
    padding: 1rem;
    overflow: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

/* Tables */
.plm-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.plm-container th,
.plm-container td {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    text-align: left;
}

.plm-container th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Small Text */
.plm-container small {
    font-size: 0.875rem;
    color: #666;
}

/* License Key Styling */
.license-key {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    margin: 0.75rem 0;
    color: #1a1a1a;
    word-break: break-all;
}

/* Status Labels */
.plm-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plm-status.active {
    background: #00a32a;
    color: #fff;
}

.plm-status.expired {
    background: #d63638;
    color: #fff;
}

.plm-status.pending {
    background: #dba617;
    color: #1a1a1a;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .plm-container h1 {
        font-size: 2rem;
    }

    .plm-container h2 {
        font-size: 1.75rem;
    }

    .plm-container h3 {
        font-size: 1.5rem;
    }

    .plm-container h4 {
        font-size: 1.25rem;
    }
}

/* Product Grid */
.plm-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.plm-product {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.2s ease;
}

.plm-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.plm-product h2 {
    margin: 0 0 1rem;
    color: #1a1a1a;
    font-size: 1.5rem;
}

/* Plans */
.plm-plans {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.plm-plan {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.plm-plan-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2271b1;
    margin: 0.5rem 0;
}

/* Buttons */
.plm-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2271b1;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.plm-button:hover {
    background: #135e96;
    color: #fff;
}

.plm-button.secondary {
    background: #f0f0f1;
    color: #2c3338;
}

.plm-button.secondary:hover {
    background: #dcdcde;
}

/* Cart */
.plm-cart {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin: 2rem 0;
}

.plm-cart-items {
    margin: 1rem 0;
}

.plm-cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.plm-cart-item:last-child {
    border-bottom: none;
}

.plm-cart-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    font-weight: 600;
}

/* Order History */
.plm-order {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.plm-order h3 {
    margin: 0 0 1rem;
    color: #1a1a1a;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.plm-licenses {
    display: grid;
    gap: 1.5rem;
}

.plm-license {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
}

.plm-license h4 {
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}

.license-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    background: #e9ecef;
}

.license-status.active {
    background: #00a32a;
    color: #fff;
}

.license-expiry {
    color: #666;
    font-size: 0.875rem;
}

/* Messages */
.plm-message {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.plm-message.success {
    background: #f0f6e9;
    border: 1px solid #68de7c;
    color: #1a1a1a;
}

.plm-message.error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .plm-container {
        padding: 1rem;
    }

    .plm-products {
        grid-template-columns: 1fr;
    }

    .plm-cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Typography Enhancements */
.site-title,
.site-title a {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-decoration: none;
}

.site-title a:hover {
    color: #2271b1;
}

.site-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Content Headers */
.plm-container .entry-title,
.plm-container .page-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Section Headers */
.plm-section-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1a1a1a;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Content Typography */
.plm-container .entry-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2c3338;
}

.plm-container .entry-content p {
    margin-bottom: 1.5rem;
}

/* Links in Content */
.plm-container .entry-content a {
    color: #2271b1;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.plm-container .entry-content a:hover {
    color: #135e96;
    border-bottom-color: currentColor;
}

/* Meta Information */
.plm-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Emphasis Text */
.plm-container strong,
.plm-container b {
    font-weight: 600;
    color: #1a1a1a;
}

.plm-container em,
.plm-container i {
    font-style: italic;
}

/* Blockquotes */
.plm-container blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #2271b1;
    background: #f8f9fa;
    font-style: italic;
    color: #1a1a1a;
}

.plm-container blockquote p:last-child {
    margin-bottom: 0;
}

/* Lists in Content */
.plm-container .entry-content ul,
.plm-container .entry-content ol {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
}

.plm-container .entry-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .site-title,
    .site-title a {
        font-size: 2rem;
    }

    .plm-container .entry-title,
    .plm-container .page-title {
        font-size: 1.75rem;
    }

    .plm-section-title {
        font-size: 1.5rem;
    }

    .plm-container .entry-content {
        font-size: 1rem;
    }
}

/* Buy Now Button */
.plm-buy-now-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to bottom, #2271b1, #135e96);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 1rem;
}

.plm-buy-now-button:hover {
    background: linear-gradient(to bottom, #135e96, #0a4b78);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.plm-buy-now-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.plm-buy-now-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(34, 113, 177, 0.4);
}

.plm-buy-now-button:disabled {
    background: #e9ecef;
    color: #8c8f94;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Add to cart animation */
.plm-buy-now-button.adding {
    position: relative;
    overflow: hidden;
    padding-right: 2.5rem;
}

.plm-buy-now-button.adding::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
    border-radius: 50%;
    animation: plm-spin 0.75s linear infinite;
}

@keyframes plm-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Success state */
.plm-buy-now-button.added {
    background: linear-gradient(to bottom, #00a32a, #008a20);
}

.plm-buy-now-button.added:hover {
    background: linear-gradient(to bottom, #008a20, #007118);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .plm-buy-now-button {
        padding: 0.875rem 1.25rem;
        font-size: 1.125rem;
    }
}

/* Cart Item Quantity */
.plm-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.plm-quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.plm-quantity-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Cart Page Styles */
.plm-cart-page {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 400px;
}

.plm-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.plm-cart-container h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

/* Cart Items */
.plm-cart-items {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.plm-cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.plm-cart-item:last-child {
    border-bottom: none;
}

.plm-cart-item-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #1a1a1a;
}

.plm-cart-item-plan {
    color: #666;
    margin: 0 0 0.5rem;
}

.plm-cart-item-price {
    font-weight: 600;
    color: #2271b1;
    margin: 0;
}

/* Quantity Input */
.plm-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plm-quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
}

/* Remove Button */
.plm-remove-item {
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plm-remove-item:hover {
    background: #c82333;
}

/* Cart Totals */
.plm-cart-totals {
    background: #f8f9fa;
    padding: 1.5rem;
    border-top: 2px solid #e9ecef;
}

.plm-cart-subtotal,
.plm-cart-tax,
.plm-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.plm-cart-total {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    border-top: 1px solid #e9ecef;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* Cart Actions Section */
.plm-cart-actions {
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* Terms Section */
.plm-terms-section {
    width: 50%;
    margin-bottom: 0;
}

/* Terms Label */
.plm-terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1;
}

/* Terms Checkbox */
.plm-terms-label input[type="checkbox"] {
    margin: 0;
    position: relative;
    top: 0;
}

/* Terms Link */
.plm-terms-label a {
    color: #2271b1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.plm-terms-label a:hover {
    text-decoration: underline;
}

/* Remove any conflicting styles */
.plm-terms-label {
    align-items: center !important;
}

.plm-terms-label input[type="checkbox"] {
    margin-top: 0 !important;
}

/* Ensure text is vertically centered */
.plm-terms-label span {
    display: inline-flex;
    align-items: center;
}

/* Checkout Button */
#plm-checkout-button {
    min-width: 200px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    background-color: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#plm-checkout-button:hover:not(:disabled) {
    background-color: #135e96;
}

@media screen and (max-width: 768px) {
    .plm-cart-actions {
        align-items: stretch;
    }

    #plm-checkout-button {
        width: 100%;
        min-width: unset;
    }
}

/* Empty Cart */
.plm-cart-empty {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plm-cart-empty .plm-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.plm-cart-empty .plm-button:hover {
    background: #135e96;
}

/* Responsive Design */
@media (max-width: 768px) {
    .plm-cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .plm-cart-item-quantity {
        justify-content: center;
    }

    .plm-cart-item-actions {
        margin-top: 1rem;
    }

    .plm-cart-totals {
        padding: 1rem;
    }

    #plm-checkout-button {
        width: 100%;
    }
}

/* Terms and Conditions */
.plm-cart-terms {
    padding: 1.5rem;
    background: #fff;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

.plm-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.4;
}

.plm-terms-label input[type="checkbox"] {
    margin-top: 0.25rem;
}

.plm-terms-label a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.plm-terms-label a:hover {
    text-decoration: underline;
}

/* Disabled checkout button */
#plm-checkout-button:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
    cursor: not-allowed;
}

.plm-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.plm-loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.plm-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plm-button-primary {
    background-color: #2271b1;
    color: #ffffff;
}

.plm-button-primary:hover {
    background-color: #135e96;
}

.plm-button-primary:disabled {
    background-color: #a7aaad;
    cursor: not-allowed;
}

.plm-button-secondary {
    background-color: #f0f0f1;
    color: #2c3338;
    border: 1px solid #2c3338;
}

.plm-button-secondary:hover {
    background-color: #2c3338;
    color: #ffffff;
}

#plm-checkout-button {
    min-width: 200px;
    position: relative;
}

.plm-terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.plm-terms-label input[type="checkbox"] {
    margin: 0;
}

.plm-terms-label a {
    color: #2271b1;
    text-decoration: none;
}

.plm-terms-label a:hover {
    text-decoration: underline;
}

.plm-cart-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.plm-buttons-section {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .plm-buttons-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .plm-button {
        width: 100%;
    }
}

/* Checkout Button Styling */
#plm-checkout-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    max-width: 300px;
    margin: 20px 0;
}

/* Terms and Conditions Container */
.plm-terms-container {
    margin: 20px 0;
    padding: 15px 0;
}

/* Terms Checkbox Wrapper */
.plm-terms-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

/* Terms Checkbox */
.plm-terms-checkbox-wrapper input[type="checkbox"] {
    margin-top: 3px;
}

/* Terms Text */
.plm-terms-checkbox-wrapper label {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* Terms Link */
.plm-terms-checkbox-wrapper a {
    color: #2271b1;
    text-decoration: none;
}

.plm-terms-checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* Product tabs */
.plm-product-tabs {
    margin: 30px 0;
}

.plm-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.plm-tabs-nav li {
    margin: 0;
    padding: 0;
}

.plm-tabs-nav a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
    background: #f5f5f5;
    border-radius: 4px 4px 0 0;
}

.plm-tabs-nav li.active a {
    background: #fff;
    color: #333;
    border-color: #ddd;
    border-bottom-color: #fff;
}

.plm-tab-content {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.plm-tab-panel {
    display: none;
}

.plm-tab-panel.active {
    display: block;
}

/* Product description */
.plm-product-description {
    line-height: 1.6;
}

.plm-product-description p {
    margin-bottom: 1em;
}

.plm-product-description ul,
.plm-product-description ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* Screenshots grid */
.plm-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.plm-screenshot {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.plm-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Changelog */
.plm-changelog {
    line-height: 1.6;
}

.plm-changelog h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.plm-changelog ul {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* Roadmap */
.plm-roadmap {
    line-height: 1.6;
}

/* Requirements */
.plm-requirements {
    line-height: 1.6;
}

.plm-requirements ul {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* Checkout Form Styles */
.plm-checkout-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.plm-terms-checkbox {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plm-terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.plm-terms-checkbox label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.plm-checkout-button {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    display: block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .plm-checkout-button {
        max-width: none;
    }
}

/* Cart Styles */
.plm-cart-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

.plm-cart-container {
    position: relative;
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.plm-cart-title {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Empty cart styles */
.plm-cart-empty {
    text-align: center;
    padding: 50px 0;
}

.plm-empty-cart-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

/* Cart header styles */
.plm-cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1.5fr 1fr 1fr;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cart item styles */
.plm-cart-items {
    border-bottom: 1px solid #eee;
}

.plm-cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1.5fr 1fr 1fr;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.plm-cart-item:last-child {
    border-bottom: none;
}

.plm-cart-item-product {
    display: flex;
    align-items: center;
}

.plm-product-thumbnail {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    background-color: #f3f3f3;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.plm-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plm-product-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

.plm-product-title {
    font-weight: 500;
    color: #333;
}

/* Mobile labels (hidden on desktop) */
.plm-mobile-label {
    display: none;
    font-weight: 600;
    margin-bottom: 5px;
    color: #666;
}

/* Quantity control styles */
.plm-quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: max-content;
}

.plm-quantity-button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.plm-quantity-button:hover:not(:disabled) {
    background-color: #f5f5f5;
}

.plm-quantity-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.plm-quantity-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    background: none;
}

/* Remove button styles */
.plm-remove-from-cart {
    background-color: #f9f9f9;
    color: #666;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.plm-remove-from-cart:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Cart summary styles */
.plm-cart-summary {
    padding: 20px 0;
}

.plm-cart-summary-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1.5fr 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.plm-cart-summary-label {
    text-align: right;
    grid-column: 4;
    font-weight: 600;
    font-size: 16px;
}

.plm-cart-summary-value {
    grid-column: 5;
    font-weight: 600;
    font-size: 16px;
}

.plm-cart-summary-note {
    grid-column: 4 / span 2;
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    text-align: right;
    padding-top: 4px;
}

/* Button styles */
.plm-cart-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 15px;
}

.plm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.plm-button-primary {
    background-color: #2271b1;
    color: white;
    border: 1px solid #2271b1;
}

.plm-button-primary:hover {
    background-color: #135e96;
    color: white;
    border-color: #135e96;
}

.plm-button-secondary {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.plm-button-secondary:hover {
    background-color: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

/* Loading overlay */
#plm-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 4px;
}

.plm-loader {
    width: 30px;
    height: 30px;
    border: 2px solid #eee;
    border-top: 2px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Cart count styles */
.plm-cart-count-wrapper {
    display: inline-block;
    font-size: 0.8em;
    color: #666;
    margin-left: 10px;
}

/* Price display styles */
.plm-regular-price {
    color: #999;
    margin-right: 4px;
    font-size: 0.85em;
}

.plm-sale-price {
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    display: block;
}

/* Plan price specific styles */
.plm-plan-price {
    margin-bottom: 15px;
}

.plm-plan-price .plm-regular-price {
    display: block;
    margin-bottom: 4px;
    font-size: 1em;
}

.plm-plan-price .plm-sale-price {
    font-size: 1.2em;
}

/* Cart specific price styles */
.plm-cart-item-price {
    font-size: 0.95em;
    line-height: 1.3;
}

.plm-cart-item-price .plm-regular-price,
.plm-cart-item-price .plm-sale-price {
    display: inline-block;
}

.plm-price-period {
    color: #666;
    font-size: 0.9em;
    margin-left: 4px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .plm-cart-header {
        display: none;
    }
    
    .plm-cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 0;
    }
    
    .plm-mobile-label {
        display: block;
    }
    
    .plm-cart-item-product {
        grid-column: 1;
    }
    
    .plm-cart-item-plan,
    .plm-cart-item-price,
    .plm-cart-item-quantity,
    .plm-cart-item-subtotal,
    .plm-cart-item-actions {
        grid-column: 1;
        padding-left: 75px;
    }
    
    .plm-cart-summary-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .plm-cart-summary-label {
        grid-column: 1;
        text-align: left;
    }
    
    .plm-cart-summary-value {
        grid-column: 2;
        text-align: right;
    }
    
    .plm-cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .plm-button {
        width: 100%;
    }
    
    .plm-cart-summary-note {
        grid-column: 1 / span 2;
        text-align: left;
        padding-top: 0;
        margin-top: -5px;
        margin-bottom: 10px;
    }
}

/* Roadmap Disclaimer */
.plm-roadmap-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 8px;
    background-color: #FFF9EB;
    border: 1px solid #FFE0B2;
    color: #7A4D01;
}

.plm-roadmap-disclaimer svg {
    flex-shrink: 0;
    color: #F57C00;
    margin-top: 2px;
}

.plm-roadmap-disclaimer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}