/* Product Template Styles */
:root {
    --plm-primary-color: #2271b1;
    --plm-primary-hover: #135e96;
    --plm-border-color: #dcdcde;
    --plm-text-color: #2c3338;
    --plm-text-light: #646970;
    --plm-bg-light: #f0f0f1;
    --plm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --plm-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --plm-transition: all 0.3s ease;
}

/* Product Header */
.plm-product-header {
    text-align: center;
    margin-bottom: 40px;
}

h1.plm-product-title {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 1em;
    color: var(--plm-text-color);
    font-weight: 600;
}

/* Featured Image */
.plm-product-featured-image {
    margin: 0 auto 30px;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--plm-shadow-sm);
}

.plm-product-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Content */
.plm-product-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.plm-product-excerpt {
    font-size: 1.2em;
    color: var(--plm-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Product Description */
.plm-product-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--plm-text-color);
}

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

.plm-product-description ul,
.plm-product-description ol {
    margin: 0 0 1.5em 1.25em;
    padding: 0;
}

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

.plm-screenshot {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--plm-shadow-sm);
    transition: var(--plm-transition);
    cursor: pointer;
}

.plm-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: var(--plm-shadow-md);
}

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

/* Tabs Navigation */
.plm-product-tabs {
    margin: 40px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--plm-shadow-sm);
}

.plm-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--plm-border-color);
    background: var(--plm-bg-light);
    border-radius: 8px 8px 0 0;
}

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

.plm-tabs-nav a {
    display: block;
    padding: 15px 25px;
    color: var(--plm-text-light);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--plm-transition);
}

.plm-tabs-nav li.active a {
    color: var(--plm-primary-color);
    border-bottom-color: var(--plm-primary-color);
    background: #fff;
}

.plm-tabs-nav a:hover {
    color: var(--plm-primary-color);
}

/* Tab Content */
.plm-tab-content {
    padding: 30px;
}

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

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

/* Plans Section */
.plm-plans-section {
    margin-top: 60px;
}

.plm-product-plans h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--plm-text-color);
}

.plm-plans-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.plm-plans-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.plm-plan {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--plm-transition);
    box-shadow: var(--plm-shadow-sm);
}

.plm-plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--plm-shadow-md);
}

.plm-plan h3 {
    color: var(--plm-text-color);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.plm-plan-price {
    font-size: 2em;
    color: var(--plm-primary-color);
    margin-bottom: 20px;
}

.plm-regular-price {
    font-size: 0.7em;
    color: var(--plm-text-light);
    text-decoration: line-through;
    display: block;
}

.plm-sale-price {
    color: #d63638;
}

.plm-price-period {
    font-size: 0.5em;
    color: var(--plm-text-light);
}

.plm-plan-features {
    margin: 20px 0;
}

.plm-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plm-plan-features li {
    padding: 10px 0;
    color: #646970;
    border-bottom: 1px solid #f0f0f1;
}

.plm-plan-features li:last-child {
    border-bottom: none;
}

.plm-add-to-cart-button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

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

.plm-add-to-cart-button:disabled {
    background: #646970;
    cursor: not-allowed;
}

.plm-add-to-cart-button.plm-added-to-cart {
    background: #00a32a;
}

/* Lightbox */
.plm-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.plm-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.plm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background 0.2s;
}

.plm-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 992px) {
    .plm-plans-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plm-product-content {
        padding: 0 15px;
        margin: 20px auto;
    }

    .plm-product-title {
        font-size: 2em;
    }

    .plm-tabs-nav {
        flex-wrap: wrap;
    }

    .plm-tabs-nav a {
        padding: 10px 15px;
    }

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

    .plm-tab-content {
        padding: 20px;
    }
}

/* Theme Compatibility */
.content-area {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.site-main {
    padding: 0;
    margin: 0;
}

.plm-single-product .plm-product-header h1 {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 1em;
    color: #333;
    font-weight: 600;
}

/* Coming Soon Message */
.plm-coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--plm-shadow-sm);
    max-width: 600px;
    margin: 0 auto;
}

.plm-coming-soon-icon {
    color: var(--plm-primary-color);
}

.plm-coming-soon h2 {
    font-size: 2em;
    color: var(--plm-text-color);
    margin-bottom: 15px;
}

.plm-coming-soon p {
    font-size: 1.2em;
    color: var(--plm-text-light);
    line-height: 1.6;
} 