.eg-pc-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.eg-pc-archive-header {
    margin-bottom: 2rem;
}

.eg-pc-archive-title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.eg-pc-archive-description {
    color: #555;
    margin-bottom: 1rem;
}

.eg-pc-product-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.eg-pc-product-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.eg-pc-product-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.eg-pc-product-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.eg-pc-product-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.eg-pc-product-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 800px) {
    .eg-pc-product-grid,
    .eg-pc-product-grid--cols-3,
    .eg-pc-product-grid--cols-4,
    .eg-pc-product-grid--cols-5,
    .eg-pc-product-grid--cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .eg-pc-product-grid,
    .eg-pc-product-grid--cols-2,
    .eg-pc-product-grid--cols-3,
    .eg-pc-product-grid--cols-4,
    .eg-pc-product-grid--cols-5,
    .eg-pc-product-grid--cols-6 {
        grid-template-columns: 1fr;
    }
}

.eg-pc-product-grid-item {
    list-style: none;
}

.eg-pc-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eg-pc-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.eg-pc-product-card-image {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
}

.eg-pc-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.eg-pc-product-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #e8e8e8 10px, #e8e8e8 20px);
}

.eg-pc-product-card-body {
    padding: 1rem;
    flex: 1 1 auto;
}

.eg-pc-product-card-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    line-height: 1.3;
}

.eg-pc-product-card-title a {
    color: inherit;
    text-decoration: none;
}

.eg-pc-product-card-title a:hover {
    text-decoration: underline;
}

.eg-pc-product-card-master-code {
    color: #888;
    font-size: 0.8rem;
    margin: 0 0 0.5rem;
}

.eg-pc-product-card-price {
    font-weight: 600;
    margin: 0;
}

.eg-pc-archive-pagination {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.eg-pc-archive-pagination a,
.eg-pc-archive-pagination span {
    padding: 0.4rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.eg-pc-archive-pagination .current {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.eg-pc-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.eg-pc-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 800px) {
    .eg-pc-single-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.eg-pc-gallery {
    position: sticky;
    top: 1rem;
}

.eg-pc-gallery-main {
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
    border: 1px solid #eee;
}

.eg-pc-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.eg-pc-gallery-thumbnails {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.eg-pc-gallery-thumbnails li {
    width: 70px;
    height: 70px;
}

.eg-pc-gallery-thumb {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
}

.eg-pc-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.eg-pc-gallery-thumb[aria-current="true"] {
    border-color: #1a1a1a;
}

.eg-pc-single-title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.eg-pc-single-master-code {
    color: #888;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.eg-pc-single-excerpt {
    color: #444;
    margin-bottom: 1rem;
}

.eg-pc-single-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.eg-pc-single-price[data-empty="true"] {
    display: none;
}

.eg-pc-single-stock {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.eg-pc-single-stock[data-status="instock"] { color: #2e7d32; }
.eg-pc-single-stock[data-status="onbackorder"] { color: #ed6c02; }
.eg-pc-single-stock[data-status="outofstock"] { color: #b00020; }

.eg-pc-variation-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
}

.eg-pc-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.eg-pc-field label {
    font-size: 0.85rem;
    font-weight: 500;
}

.eg-pc-field select,
.eg-pc-field input[type="number"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    font: inherit;
}

.eg-pc-button {
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
}

.eg-pc-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.eg-pc-single-add-to-cart-placeholder {
    margin: 1rem 0;
}

.eg-pc-add-to-cart-note {
    color: #888;
    font-size: 0.85rem;
    margin: 0.5rem 0 0;
}

.eg-pc-single-description {
    margin: 2rem 0;
}

.eg-pc-single-description h2 {
    font-size: 1.2rem;
}

.eg-pc-single-meta {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.eg-pc-single-meta li {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.eg-pc-label {
    color: #666;
    margin-right: 0.4rem;
}

.eg-pc-price-scales {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.eg-pc-price-scales caption {
    text-align: left;
    font-weight: 500;
    margin-bottom: 0.5rem;
    caption-side: top;
}

.eg-pc-price-scales th,
.eg-pc-price-scales td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border: 1px solid #eee;
}

.eg-pc-price-scales th {
    background: #f7f7f7;
    font-weight: 500;
}

.eg-pc-empty {
    color: #666;
    padding: 2rem;
    text-align: center;
}

.eg-pc-printing-configurator {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f4f4f4;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.eg-pc-printing-configurator-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eg-pc-printing-configurator .eg-pc-field {
    margin: 0.75rem 0;
}

.eg-pc-print-size-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.eg-pc-print-size-row input[type="number"] {
    width: 6rem;
}

.eg-pc-print-size-x {
    color: #888;
}

.eg-pc-print-size-unit {
    color: #888;
    font-size: 0.85rem;
}

.eg-pc-print-validation {
    margin: 0.75rem 0;
    color: #b00020;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.eg-pc-print-validation:not([data-active]) {
    display: none;
}

.eg-pc-print-price {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.eg-pc-print-price[data-empty="true"] .eg-pc-print-price-list {
    opacity: 0.5;
}

.eg-pc-print-price-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eg-pc-print-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eg-pc-print-price-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.eg-pc-print-price-total {
    border-top: 1px solid #ddd;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    font-size: 1rem;
}

.eg-pc-print-price-total .eg-pc-currency {
    margin-left: 0.4rem;
    color: #666;
}

.eg-pc-add-to-cart {
    margin: 1rem 0;
}

.eg-pc-add-to-cart-button {
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    font-size: 1rem;
}

.eg-pc-add-to-cart-button:hover {
    background: #000;
}

.eg-pc-add-to-cart-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.eg-pc-add-to-cart-feedback {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #2e7d32;
    min-height: 1.2em;
}

.eg-pc-add-to-cart-feedback[data-error="true"] {
    color: #b00020;
}

.eg-pc-cart {
    max-width: 1200px;
    margin: 1.5rem auto;
}

.eg-pc-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.eg-pc-cart-table th,
.eg-pc-cart-table td {
    border: 1px solid #eee;
    padding: 0.75rem;
    vertical-align: middle;
    text-align: left;
}

.eg-pc-cart-table th {
    background: #f7f7f7;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eg-pc-cart-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.eg-pc-cart-product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fafafa;
}

.eg-pc-cart-printing {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.eg-pc-cart-printing li {
    margin: 0.15rem 0;
}

.eg-pc-cart-tronlogo {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
}

.eg-pc-muted {
    color: #999;
    font-size: 0.85rem;
}

.eg-pc-cart-qty {
    width: 4.5rem;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.eg-pc-cart-remove {
    background: transparent;
    border: 1px solid #ddd;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: #888;
    line-height: 1;
}

.eg-pc-cart-remove:hover {
    color: #b00020;
    border-color: #b00020;
}

.eg-pc-cart-totals {
    max-width: 360px;
    margin-left: auto;
}

.eg-pc-cart-totals ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eg-pc-cart-totals li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.eg-pc-cart-total {
    border-bottom: none !important;
    padding-top: 0.6rem !important;
    font-size: 1.1rem !important;
}

.eg-pc-cart-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 800px) {
    .eg-pc-cart-table thead {
        display: none;
    }
    .eg-pc-cart-table,
    .eg-pc-cart-table tbody,
    .eg-pc-cart-table tr,
    .eg-pc-cart-table td {
        display: block;
        width: 100%;
    }
    .eg-pc-cart-table tr {
        margin-bottom: 1rem;
        border: 1px solid #eee;
    }
    .eg-pc-cart-table td {
        border: none;
        border-bottom: 1px solid #f5f5f5;
    }
    .eg-pc-cart-totals {
        max-width: none;
    }
}

.eg-pc-checkout {
    max-width: 1200px;
    margin: 1.5rem auto;
}

.eg-pc-checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 800px) {
    .eg-pc-checkout-grid {
        grid-template-columns: 1fr;
    }
}

.eg-pc-checkout-form h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eg-pc-checkout-form .eg-pc-field {
    margin: 0.5rem 0;
}

.eg-pc-checkout-form input[type="text"],
.eg-pc-checkout-form input[type="email"],
.eg-pc-checkout-form input[type="tel"],
.eg-pc-checkout-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    font: inherit;
}

.eg-pc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .eg-pc-field-row {
        grid-template-columns: 1fr;
    }
}

.eg-pc-privacy {
    margin: 1rem 0;
}

.eg-pc-checkout-actions {
    margin: 1.5rem 0;
}

.eg-pc-checkout-submit {
    padding: 0.85rem 1.5rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    font-size: 1rem;
}

.eg-pc-checkout-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.eg-pc-checkout-errors {
    color: #b00020;
    margin: 1rem 0;
}

.eg-pc-checkout-errors:not([data-active]) {
    display: none;
}

.eg-pc-checkout-errors ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.eg-pc-checkout-summary {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 4px;
    position: sticky;
    top: 1rem;
}

.eg-pc-checkout-summary h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eg-pc-checkout-lines {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eg-pc-checkout-lines li {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    gap: 0.5rem;
}

.eg-pc-checkout-line-name {
    flex: 1 1 auto;
}

.eg-pc-checkout-line-amount {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
}

.eg-pc-checkout-totals {
    width: 100%;
    margin-top: 0.75rem;
    border-collapse: collapse;
}

.eg-pc-checkout-totals td {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.eg-pc-checkout-totals td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.eg-pc-checkout-grand td {
    padding-top: 0.6rem !important;
    border-top: 1px solid #ddd;
    font-size: 1rem !important;
}

.eg-pc-order-summary {
    max-width: 760px;
    margin: 2rem auto;
}

.eg-pc-order-summary-title {
    margin: 0 0 1rem;
    font-size: 1.8rem;
}

.eg-pc-order-summary-intro {
    color: #444;
    margin-bottom: 1.5rem;
}

.eg-pc-order-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.eg-pc-order-summary-table th,
.eg-pc-order-summary-table td {
    border: 1px solid #eee;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.eg-pc-order-summary-table th {
    background: #f7f7f7;
    font-weight: 500;
}

.eg-pc-order-summary-totals {
    margin-top: 1rem;
    max-width: 360px;
    margin-left: auto;
}

.eg-pc-order-summary-totals p {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.eg-pc-order-summary-grand {
    border-bottom: none !important;
    padding-top: 0.6rem !important;
    font-size: 1.1rem;
}
