/* ===============================
   PRODUCT STYLING – CLEAN & DRY
================================= */

/* Flex container for product options & lists */
.field--name-field-colour-options.field__items,
.field--name-field-weave-options.field__items,
.field--name-field-fabric-options.field__items,
.field--name-field-fabric-new-options.field__items,
.field--name-field-frame-options.field__items,
.field--name-field-table-top-options.field__items,
.field--name-field-lp-cushion-options.field__items,
.marketplace-product .item-list ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: space-around;
    text-align: left;
    position: relative;
    margin-left: 0;
    margin-bottom: 0;
    gap: 5px;
}

/* Inline text */
#lp-marketplace-products .details p,
.field--type-image,
p.inline {
	display: inline;
}

/* Hide details for image/color fields */
.details.field--type-image,
.details.field--type-color-field-type {
	display: none;
}

/* Show attributes inline */
.attributes.field--type-image,
.attributes.field--type-color-field-type {
	display: inline-block;
}

/* Details blocks */
#lp-marketplace-products .details .item-list,
#lp-marketplace-products .details,
#lp-products.details .item-list,
#lp-products.details {
	display: inline-block;
}

.details h5,
.details p.priceline,
.details .prices {
	margin-top: 1rem;
}

#lp-products.details h5 {
	margin: 1rem 0;
}

#lp-products-media ul li {
	margin-bottom: 1rem;
}

/* Price tag */
.pricetag {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-block;
	margin-right: 15px;
	font-family: var(--font-family-headers-medium);
	font-size: 1.2rem;
	font-weight: 500;
}

.pricetag .from {
	display: inline-block;
	font-family: var(--font-family-sans-serif);
	font-size: 1rem;
	font-weight: 100;
}

/* Product images / swatches */
.field--name-field-fabric-options img,
.field--name-field-fabric-image img,
.field--name-field-fabric-new-options img,
.field--name-field-fabric-new-image img,
.field--name-field-frame-options img,
.field--name-field-frame-image img,
.field--name-field-table-top-options img,
.field--name-field-table-top-image img,
.field--name-field-lp-cushion-options img,
.field--name-field-lp-cushion-image img,
.field__item .color_field__swatch,
#lp-marketplace-products .color_field__swatch--circle,
#lp-marketplace-xtra-clearance .color_field__swatch--circle,
#lp-products .color_field__swatch--circle,
#lp-xtra-clearance .color_field__swatch--circle {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	transition: all ease-in-out 1.2s;
	margin-bottom: 6px;
	border: 1px solid rgba(46,46,46,0.15);
}

/* Field items / labels */
.field--name-field-colour-options .field__item,
.field--name-field-colour-image .field__item,
.field--name-field-fabric-options .field__item,
.field--name-field-fabric-image .field__item,
.field--name-field-fabric-new-options .field__item,
.field--name-field-fabric-new-image .field__item,
.field--name-field-frame-options .field__item,
.field--name-field-frame-image .field__item,
.field--name-field-table-top-options .field__item,
.field--name-field-table-top-image .field__item,
.field--name-field-lp-cushion-options .field__items,
.field--name-field-lp-cushion-image .field__item,
.marketplace-product .item-list ul li,
#lp-products.details .item-list ul li,
#lp-products.details ul li {
	margin: 2px 10px 10px 0;
	font-size: .55rem;
	text-transform: uppercase;
	font-family: var(--font-family-headers);
	text-align: center;
	display: inline-block;
}

/* Marketplace product details */
/*.marketplace-product .details .item-list ul li,
.marketplace-product .details ul li,
.marketplace-product .details .field__item {
	display: inline;
	margin: 0;
	font-size: 1.1428rem;
	color: var(--lp-font);
	font-family: var(--font-family-sans-serif);
	font-weight: 100;
	text-transform: none;
}

.marketplace-product .details .item-list ul li:not(:last-child) .field--type-string:after,
.marketplace-product .details ul li:not(:last-child) .field--type-string:after,
.marketplace-product .details .field__item:not(:last-child) .field--type-string:after {
	display: inline;
	content: ",";
	margin-right: 3px;
}*/

/* Price info fields */
.marketplace-product .details .field--name-field-mp-price-info.field--type-string:after {
	display: none !important;
}

.marketplace-product .details .field--name-field-mp-price-info {
	display: flex;
	min-width: 250px;
}

.field--name-field-mp-price-info:after {
	content:"\a" !important;
	white-space: pre !important;
}

/* Swatch spacing in details */
.marketplace-product .details .field__item .color_field__swatch,
.marketplace-product .details .field__item img {
	margin: 0 5px 0 0;
}

.media-vector_image {
    display: block;       /* ensure container allows full width */
    width: 100%;          /* stretch container */
}

.media-vector_image img {
    display: block;       /* remove inline spacing */
    width: 100%;          /* stretch image */
    height: auto;
    object-fit: contain;  /* ensures full width without distortion */
}

.attribute.caption.strong {
    font-family: var(--font-family-headers-medium);
	font-weight: 500;
	font-size: 1rem;
    padding-top: 0.2rem;
}