/* Product Spark Template Styles */

/* Fixed bottom bar shadow */
.product-spark-page .fixed-bottom-bar {
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1), 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
}

/* Swiper custom styles */
.product-gallery-swiper .swiper-button-prev,
.product-gallery-swiper .swiper-button-next {
    color: #FF4800;
}

.product-gallery-swiper .swiper-button-prev:after,
.product-gallery-swiper .swiper-button-next:after {
    display: none;
}

.product-gallery-swiper .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.5);
    width: 10px;
    height: 10px;
}

.product-gallery-swiper .swiper-pagination-bullet-active {
    background: #1D1D1D;
}

.product-thumbs-swiper .swiper-slide-thumb-active .border-transparent {
    border-color: #FF4800 !important;
}

/* Additional Swiper styles for proper display */
.product-gallery-swiper,
.product-thumbs-swiper {
    width: 100%;
}

.product-gallery-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-thumbs-swiper .swiper-slide {
    width: auto !important;
    height: auto !important;
}

/* Configuration selector styles */
.product-spark-page .config-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px solid #EDEDED;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    color: #1D1D1D;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
}

.product-spark-page .config-option.active {
    border-color: #1D1D1D;
    background: white;
    cursor: default;
}

/* Hover effect only for desktop with mouse */
@media (hover: hover) and (pointer: fine) {
    .product-spark-page .config-option:not(.active):hover {
        border-color: #c0c0c0;
        background: #FAFAFA;
    }
}

/* Color selector styles */
.color-option {
    width: 72px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #EDEDED;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.color-option.active {
    border-color: #1D1D1D;
    cursor: default;
}

/* Hover effect only for desktop with mouse */
@media (hover: hover) and (pointer: fine) {
    .color-option:not(.active):hover {
        border-color: #c0c0c0;
        background: #FAFAFA;
    }
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.color-circle.silver {
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
}

.color-circle.black {
    background: #1D1D1D;
}

/* Addon quantity selector styles */
.addon-qty-selector {
    /* Display is controlled by inline style, flex layout is set in HTML */
}

.addon-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EDEDED;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    flex-shrink: 0;
}

.addon-qty-btn:hover {
    background: #d0d0d0;
}

.addon-qty-btn:active {
    transform: scale(0.95);
}

.addon-qty-number {
    font-size: 20px;
    font-weight: 500;
    color: #1D1D1D;
    min-width: 20px;
    text-align: center;
    line-height: 100%;
}

/* Product item styles */
.addon-item {
    border: 2px solid #EDEDED;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s;
    background: white;
    cursor: pointer;
}

@media (min-width: 768px) {
    .addon-item {
        padding: 24px;
    }
}

/* Hover effect only for desktop with mouse */
@media (hover: hover) and (pointer: fine) {
    .addon-item:not(.selected):hover {
        border-color: #c0c0c0;
        background: #FAFAFA;
    }
}

.addon-item.selected {
    border: 2px solid #1D1D1D;
    cursor: default;
}

/* Disabled button styles */
#checkout-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

#checkout-btn:disabled:hover {
    background: #FF4800;
}

/* Checkbox styles */
.addon-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #1D1D1D;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.addon-checkbox.checked {
    background: #1D1D1D;
    border-color: #1D1D1D;
}

.addon-checkbox svg {
    display: none;
    width: 14px;
    height: 14px;
}

.addon-checkbox.checked svg {
    display: block;
}

/* Product short description styles */
.product-short-description p {
    margin: 0;
}

.product-short-description ul,
.product-short-description ol {
    margin: 0;
    padding-left: 1.2em;
}

.product-short-description li {
    margin-bottom: 0.3em;
}

.product-short-description li:last-child {
    margin-bottom: 0;
}

.product-short-description p+p,
.product-short-description p+ul,
.product-short-description p+ol {
    margin-top: 0.5em;
}

/* Addon image transition */
.addon-item img {
    transition: opacity 0.15s ease-in-out;
}

/* Product carousel active state */
.product-card.active {
    opacity: 1 !important;
}
