/* ============================================
   POLYWOOD-STYLE SINGLE PRODUCT PAGE
   ============================================ */

/* Breadcrumb */
.pw-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
}

.pw-breadcrumb .woocommerce-breadcrumb {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.pw-breadcrumb .woocommerce-breadcrumb a {
    color: #1a1a1a;
    text-decoration: none;
}

.pw-breadcrumb .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Main */
.pw-product-main {
    padding: 40px 0;
    background: #fff;
}

/* Header Row */
.pw-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.pw-header-left {
    flex: 1;
}

.pw-product-title {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.pw-header-right {
    text-align: right;
}

.pw-price-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pw-price {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.pw-sku {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Content Row */
.pw-content-row {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

/* Gallery */
.pw-gallery {
    flex: 0 0 55%;
}

.pw-main-image {
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.pw-info {
    flex: 1;
}

/* Color Section */
.pw-color-section {
    margin-bottom: 25px;
}

.pw-color-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.pw-color-label {
    font-weight: 600;
    color: #1a1a1a;
}

.pw-color-value {
    color: #666;
}

.pw-color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pw-color-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.pw-color-btn:hover,
.pw-color-btn.active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}

/* Lead Time */
.pw-leadtime {
    padding: 15px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Add to Cart */
.pw-add-to-cart {
    margin-bottom: 25px;
}

.pw-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    width: fit-content;
}

.pw-qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.pw-qty-btn:hover {
    background: #f5f5f5;
}

.pw-qty-input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    -moz-appearance: textfield;
}

.pw-qty-input::-webkit-outer-spin-button,
.pw-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pw-add-btn {
    width: 100%;
    padding: 16px 30px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
}

.pw-add-btn:hover {
    background: #333;
}

/* Trust Badges */
.pw-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.pw-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.pw-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: #c9a96e;
}

/* Accordions */
.pw-accordions {
    background: #f5f5f5;
    padding: 40px 0;
}

.pw-accordion {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.pw-accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.pw-accordion-header:hover {
    background: #fafafa;
}

.pw-accordion-header .pw-icon {
    width: 20px;
    height: 20px;
    stroke: #666;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s;
}

.pw-accordion-header.active .pw-icon {
    transform: rotate(180deg);
}

.pw-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pw-accordion-content.active {
    max-height: 1000px;
    padding: 0 25px 25px;
}

/* Description */
.pw-desc p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.pw-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pw-features li {
    padding: 12px 0 12px 25px;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
}

.pw-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c9a96e;
    font-weight: bold;
}

/* Specs */
.pw-specs {
    margin-bottom: 20px;
}

.pw-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

/* The Difference Section */
.pw-difference {
    padding: 80px 0;
    background: #fff;
}

.pw-difference-title {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pw-difference-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pw-diff-item {
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.pw-diff-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.pw-diff-icon svg {
    width: 100%;
    height: 100%;
    stroke: #c9a96e;
}

.pw-diff-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.pw-diff-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pw-diff-item a {
    color: #1a1a1a;
    font-size: 14px;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .pw-content-row {
        flex-direction: column;
    }
    
    .pw-gallery {
        flex: 1;
    }
    
    .pw-difference-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pw-header-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .pw-header-right {
        text-align: left;
    }
    
    .pw-trust-badges {
        grid-template-columns: 1fr;
    }
}
