/**
 * Single Product Page Styles
 */

/**
 * Travel Version Checkbox Styles
 */

.travel-version-option {
    margin: 25px 0;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.travel-version-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.travel-version-checkbox input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0 12px 0 0;
    cursor: pointer;
    accent-color: #176DAA;
}

.travel-version-label {
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
}

.travel-version-checkbox:hover .travel-version-label {
    color: #176DAA;
}

/* Style for when the option is active (checkbox is checked) */
.travel-version-option.travel-version-option--checked {
    border-color: #176DAA; /* Primary theme color */
    box-shadow: 0 0 0 1px #176DAA; /* Subtle glow */
}
.travel-version-option.travel-version-option--checked .travel-version-label {
    color: #176DAA; /* Change label color when checked */
}

/* Mobile responsive */
@media only screen and (max-width: 768px) {
    .travel-version-option {
        padding: 12px;
        margin: 20px 0;
    }

    .travel-version-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    .travel-version-label {
        font-size: 14px;
    }
}


/* Price display - swap order so sale price is on left, regular price on right */
.product-info__price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Version buttons - same styles as sizes */
.product-info__versions {
    margin-bottom: 25px;
}

.product-info__version-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.product-info__version {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-info__version:hover {
    border-color: #176DAA;
    color: #176DAA;
}

.product-info__version.active {
    border-color: #176DAA;
    background: #176DAA;
    color: #fff;
}

.product-info__version:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .product-info__version {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.product-info__color-list {
	flex-wrap: wrap;
}

.product-info .btn {
	padding: 18px 10px;
}

/* Old/regular price (strikethrough) */
.product-info__price del {
    order: 2;
    text-decoration: none;
}

.product-info__price del .woocommerce-Price-amount {
    font-size: 16px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    color: rgba(254,22,22,.4);
    text-decoration: line-through;
}

/* New/sale price */
.product-info__price ins {
    order: 1;
    text-decoration: none;
}

.product-info__price ins .woocommerce-Price-amount {
    font-size: 22px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    color: #000;
}

/* Simple product price (no sale) */
.product-info__price .woocommerce-Price-amount {
    font-size: 22px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    color: #000;
}

/* Mobile responsive */
@media only screen and (max-width: 768px) {
    .product-info__price del .woocommerce-Price-amount {
        font-size: 18px;
    }

    .product-info__price ins .woocommerce-Price-amount,
    .product-info__price .woocommerce-Price-amount {
        font-size: 24px;
    }
}

/* Product Description Lists */
.product-description__content ol,
.product-description__content ul {
    padding-left: 20px;
    margin: 16px 0;
}

.product-description__content ol {
    list-style-type: disc;
}

.product-description__content ul {
    list-style-type: disc;
}

.product-description__content ol li,
.product-description__content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #374151;
}

.product-description__content ol li:last-child,
.product-description__content ul li:last-child {
    margin-bottom: 0;
}

/* Product Description Tables */
.product-description__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-description__content table thead {
    background-color: #176DAA;
}

.product-description__content table thead th {
    padding: 14px 16px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description__content table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.product-description__content table tbody tr:last-child {
    border-bottom: none;
}

.product-description__content table tbody tr:hover {
    background-color: #f9fafb;
}

.product-description__content table tbody td {
    padding: 14px 16px;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.product-description__content table tbody td:first-child {
    font-weight: 600;
    color: #1f2937;
}

/* Striped table variant */
.product-description__content table.striped tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.product-description__content table.striped tbody tr:nth-child(even):hover {
    background-color: #f3f4f6;
}

/* Responsive table */
@media only screen and (max-width: 768px) {
    .product-description__content table {
        font-size: 14px;
    }

    .product-description__content table thead th,
    .product-description__content table tbody td {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Make table scrollable on mobile */
    .product-description__content {
        overflow-x: auto;
    }
}

@media only screen and (max-width: 480px) {
    .product-description__content table {
        font-size: 13px;
    }

    .product-description__content table thead th,
    .product-description__content table tbody td {
        padding: 8px 10px;
        font-size: 13px;
    }
}
