.fps-container {
    font-family: system-ui, -apple-system, sans-serif;
    border: 1px solid #eaeaea;
    background: #fff;
    padding: 20px;
}

.fps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.fps-header-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #222;
}

.fps-view-details {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.fps-view-details:hover {
    opacity: 0.8;
}

.fps-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .fps-content-grid {
        grid-template-columns: 1fr;
    }
}

.fps-media-section {
    display: flex;
    gap: 15px;
}

.fps-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60px;
}

.fps-thumb {
    border: 1px solid #ddd;
    padding: 2px;
    cursor: pointer;
    border-radius: 4px;
}

.fps-thumb.active {
    border-color: #d91b35;
}

.fps-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.fps-main-image-wrapper {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.fps-main-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
}

.fps-main-image-wrapper:hover .fps-main-image {
    transform: scale(1.2);
}

.fps-zoom-hint {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

/* Details side */
.fps-product-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.fps-save-badge {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.fps-brand {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
}

.fps-price-row {
    font-size: 16px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fps-price-label {
    color: #555;
    font-weight: 500;
}

.fps-price-current {
    font-size: 22px;
    font-weight: 700;
}

.fps-price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
}

.fps-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.fps-qty-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.fps-qty-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 38px;
}

.fps-qty-btn {
    background: #f7f7f7;
    border: none;
    width: 35px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.fps-qty-btn:hover {
    background: #eaeaea;
}

.fps-qty-input {
    width: 50px;
    text-align: center;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

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

.fps-buttons-group {
    display: flex;
    width: 100%;
}

.fps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    width: 100%;
    text-align: center;
}

.fps-btn:hover {
    opacity: 0.9;
}
