/**
 * Shopify Storefront Styles
 */

/* Container */
.sf-widget-container {
    position: relative;
}

/* Views */
.sf-view {
    display: none;
}

.sf-view.active {
    animation: sfFadeIn 0.3s ease;
    display: block;
}

@keyframes sfFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumb */
.sf-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 15px 0;
}

.sf-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

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

.sf-breadcrumb-sep {
    color: #999;
    margin: 0 10px;
}

/* Back Button */
.sf-back-button {
    background-color: #f5f5f5;
    border: 0;
    border-radius: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    color: #333;
    cursor: pointer;
    font-family: Oswald;
    font-size: 15px;
    line-height: 1;
    padding: 15px 40px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sf-back-button:hover {
    background: #333;
    color: #fff;
}

/* Grids */
.sf-collections-grid,
.sf-products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

/* Collection Card */
.sf-collection-card,
.sf-product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-collection-card:hover,
.sf-product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Card Images */
.elementor .sf-collection-image img {
    height: 100%;
}

.sf-collection-image,
.sf-product-image {
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 8px;
    margin: 10px;
    overflow: hidden;
}

.sf-collection-image img,
.sf-product-image img {
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    width: 100%;
}

.sf-collection-card:hover .sf-collection-image img,
.sf-product-card:hover .sf-product-image img {
    transform: scale(1.05);
}

/* Card Info */
.sf-collection-info,
.sf-product-info {
    padding: 15px;
}

.sf-collection-title,
.sf-product-title {
    margin: 0 0 8px 0;
    text-align: inherit;
}



.sf-product-price {
    margin: 0;
}

.sf-out-of-stock {
    background: #dc3545;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 0.75rem;
    margin-top: 8px;
    padding: 3px 8px;
}

/* Products Title */
.sf-products-title {
    color: #333;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
}

/* Product Detail */
.sf-product-detail {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.sf-product-gallery {
    position: sticky;
    top: 20px;
}

.sf-main-image {
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.sf-main-image img {
    display: block;
    height: auto;
    width: 100%;
}

.sf-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-thumbnail {
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    height: 70px;
    object-fit: cover;
    transition: border-color 0.2s ease;
    width: 70px;
}

.sf-thumbnail:hover,
.sf-thumbnail.active {
    border-color: #333;
}

.sf-product-info-detail {
    padding: 0;
}

.sf-product-title-lg {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.sf-product-vendor {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.sf-product-price-lg {
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.sf-product-options {
    margin-bottom: 20px;
}

.sf-option-group {
    margin-bottom: 15px;
}

.sf-option-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.sf-option-select {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    padding: 10px 12px;
    width: 100%;
}

.sf-option-select:focus {
    border-color: #333;
    outline: none;
}

.sf-product-description {
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
}

.sf-product-description p {
    margin: 0 0 15px 0;
}

.sf-product-description ul,
.sf-product-description ol {
    margin: 0 0 15px 20px;
}

.sf-quantity-selector {
    margin-bottom: 20px;
}

.sf-quantity-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.sf-quantity-controls {
    align-items: center;
    border: 1px #ddd solid;
    display: flex;
    gap: 0;
    max-width: 150px;
}

.sf-quantity-controls .sf-quantity-btn {
    align-items: center;
    background: #fff;
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 600;
    height: 40px;
    justify-content: center;
    transition: all 0.2s ease;
    width: 40px;
}

.sf-quantity-controls .sf-quantity-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.sf-quantity-controls .sf-quantity-btn:active {
    background: #e0e0e0;
}

.sf-quantity-minus {
    border-radius: 4px 0 0 4px;
}

.sf-quantity-plus {
    border-radius: 0 4px 4px 0;
}

.sf-quantity-input {
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 16px;
    font-weight: 500;
    height: 40px;
    text-align: center;
    width: 60px;
}

/* Hide default number input arrows */
.sf-quantity-input::-webkit-outer-spin-button,
.sf-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sf-quantity-input[type=number] {
    -moz-appearance: textfield;
    border: none;
}

.sf-buy-button {
    background: #333;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 35px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sf-buy-button:hover {
    background: #555;
    color: #fff;
}

/* Loading State */
.sf-loading {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    padding: 60px 20px;
    text-align: center;
}

.sf-loading-spinner {
    border: 4px solid #f0f0f0;
    border-radius: 50%;
    border-top: 4px solid #ff632c;
    height: 50px;
    width: 50px;
    animation: sfSpinnerRotate 1s linear infinite;
}

@keyframes sfSpinnerRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.sf-loading-text {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

/* Error State */
.sf-error {
    background: #fff3f3;
    border-radius: 8px;
    color: #c62828;
    padding: 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .sf-product-detail {
        gap: 30px;
        grid-template-columns: 1fr;
    }

    .sf-product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {

    .sf-collections-grid,
    .sf-products-grid {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
    }

    .sf-product-title-lg {
        font-size: 1.4rem;
    }

    .sf-product-price-lg {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {

    .sf-collections-grid,
    .sf-products-grid {
        grid-template-columns: 1fr;
    }

    .sf-collection-info,
    .sf-product-info {
        padding: 12px;
    }

    .sf-collection-title,
    .sf-product-title {
        font-size: 1rem;
    }
}

/* Questionnaire Styles */
.sf-section-header {
    margin-bottom: 40px;
    text-align: center;
}

.sf-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.sf-section-content {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
}

.sf-question {

    border: 2px solid #ff632c;
    border-radius: 12px;
    box-shadow: 1px 2px 9px rgba(0, 0, 0, 0.25);
    margin: 30px auto;
    margin-bottom: 40px;
    max-width: 800px;
    padding: 40px 70px;
    text-align: center;
    text-align: center;
}

.sf-question-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.sf-question-buttons {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.sf-question-btn {
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sf-question-btn:hover {
    transform: scale(1.05);
}

.sf-back-to-q1 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .sf-section-title {
        font-size: 1.5rem;
    }

    .sf-question-title {
        font-size: 1.5rem;
    }

    .sf-question-buttons {
        flex-direction: column;
    }
}