/* Progress Bar - Complete Redo */
/* REMOVED - Progress bar deleted */

/* Product selection button grid container */
.product-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Order Details Styling */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey-light);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    font-weight: 500;
    color: var(--text-dark);
}

.detail-item .value {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-item.total .value {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Status Indicators */
.status-success {
    color: var(--success-color) !important;
}

.status-warning {
    color: var(--warning-color) !important;
}

.status-pending {
    color: var(--primary-color) !important;
}

/* Terms Section */
.terms-section {
    background: var(--grey-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.terms-content ul {
    list-style: none;
    padding: 0;
}

.terms-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey-light);
    position: relative;
    padding-left: 1.5rem;
}

.terms-content li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.terms-content li:last-child {
    border-bottom: none;
}

/* Order Summary Card */
.order-summary-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(154, 1, 103, 0.1);
}

.order-summary-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Center the total item in the grid */
.summary-item.total {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 300px;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--grey-light);
    border-radius: 8px;
}

.summary-item .label {
    font-weight: 500;
    color: var(--text-dark);
}

.summary-item .value {
    font-weight: 600;
    color: var(--primary-color);
}

.summary-item.total {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    justify-content: center;
}

.summary-item.total .label,
.summary-item.total .value {
    color: var(--white);
    font-weight: 600;
}

.summary-item.total .label {
    font-size: 1rem;
    opacity: 0.95;
}

.summary-item.total .value {
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-item.total .value {
    font-size: 1.2rem;
}

/* Pricing Breakdown Styles */
.breakdown-details {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.breakdown-item {
    background: var(--grey-lightest);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.breakdown-line {
    margin: 0.25rem 0;
    color: var(--text-dark);
}

.breakdown-line:first-child {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--grey-light);
    margin-top: 2rem;
}

.step-navigation .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 1, 103, 0.2);
}

/* Additional positioning safeguards */
html, body {
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* Ensure progress bar is always visible */
/* REMOVED - Progress bar deleted */

/* Main Content Styles */
.main-content {
    padding: 150px 0 1rem 0;
    min-height: calc(100vh - 200px);
    /* Ensure content starts below fixed navbar */
    margin-top: 20px;
}

.step-header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 3rem;
}

.step-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-features span {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.select-product-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-card.selected .select-product-btn {
    background: var(--success-color);
    border-color: var(--success-color);
}

.product-card.selected .select-product-btn:hover {
    background: var(--success-dark);
    border-color: var(--success-dark);
}

/* Step Navigation Styles */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--grey-light);
}

.next-step-disabled {
    color: var(--text-muted);
    font-style: italic;
}

.next-step-enabled {
    display: none;
}

.next-step-enabled.show {
    display: block;
}

.next-step-enabled .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-container {
        margin-top: 80px !important;
        position: relative !important;
    }
    
    .progress-bar {
        padding: 0 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .step-header h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-navigation {
    flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .progress-container {
        margin-top: 80px !important;
        position: relative !important;
        min-height: 100px;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .step-header h1 {
        font-size: 1.8rem;
    }
    
    .product-content {
        padding: 1rem;
    }
}

/* Product Selection Section Spacing */
.shop-header .section-header {
    margin-bottom: 1rem;
}

.shop-header .section-header h1 {
    margin-bottom: 0.5rem;
}

.shop-header .section-header p {
    margin-bottom: 1rem;
}

/* Product Selection Purple Card */
.product-selection-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(154, 1, 103, 0.15);
    text-align: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.product-selection-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.product-selection-card p {
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
}

/* Step Navigation in Shop Header */
.shop-header .step-navigation.shop-step {
    margin-top: 1rem;
    padding-top: 1rem;
}

.shop-header .step-navigation.shop-step .step-content h3 {
    margin-bottom: 0.5rem;
}

.shop-header .step-navigation.shop-step .step-content p {
    margin-bottom: 1rem;
}

.shop-header .step-navigation.shop-step .step-actions,
.product-selection-card .step-actions {
    margin-top: 1rem;
    /* Button grid layout */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* Ensure proper alignment */
    justify-items: center;
    align-items: center;
}

/* Product selection buttons styling */
.shop-header .step-navigation.shop-step .step-actions .btn,
.product-selection-card .step-actions .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Ensure consistent button heights */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Button colors */
    border: 2px solid var(--white);
    background: var(--white);
    color: var(--primary-color);
}

.shop-header .step-navigation.shop-step .step-actions .btn-primary,
.product-selection-card .step-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-weight: 700;
}

.shop-header .step-navigation.shop-step .step-actions .btn-outline,
.product-selection-card .step-actions .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.shop-header .step-navigation.shop-step .step-actions .btn:hover,
.product-selection-card .step-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.product-selection-card .step-actions .btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Responsive button layout */
@media (max-width: 768px) {
    .shop-header .step-navigation.shop-step .step-actions,
    .product-selection-card .step-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 500px;
    }
    
    .shop-header .step-navigation.shop-step .step-actions .btn,
    .product-selection-card .step-actions .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
        height: 44px;
    }
    
    .product-selection-card {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
}

@media (max-width: 480px) {
    .shop-header .step-navigation.shop-step .step-actions,
    .product-selection-card .step-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        max-width: 300px;
    }
    
    .shop-header .step-navigation.shop-step .step-actions .btn,
    .product-selection-card .step-actions .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.7rem;
        height: 40px;
    }
    
    .product-selection-card {
        padding: 1rem;
        margin: 1rem auto;
        border-radius: 12px;
    }
    
    /* Step 4 responsive adjustments */
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .summary-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Pricing Section Styling */
.pricing-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.pricing-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-section .section-header h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pricing-section .section-header p {
    color: var(--text-muted);
    margin: 0;
}

.pricing-table {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-table td {
    padding: 1rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--grey-light);
    font-weight: 500;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:nth-child(even) {
    background: var(--grey-lightest);
}

.pricing-note {
    text-align: center;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Responsive pricing table */
@media (max-width: 768px) {
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 1.5rem;
    }
    
    .pricing-table {
        font-size: 0.8rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Product Selection Styles */
.product-selection-card {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-selection-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-selection-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Preview Image Positioning - Show Top Portion */
.product-image img, .catalog-image img {
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

/* Specific Image Adjustments */
.product-image img[src*="Beanies.png"], .catalog-image img[src*="Beanies.png"] {
    object-fit: contain;
    object-position: top center;
    height: 400px; /* Increased height to 275px */
    margin-top: 0; /* Ensure top alignment */
}

.product-image img[src*="Hats.png"], .catalog-image img[src*="Hats.png"] {
    object-position: center; /* Center to show both top and bottom */
    margin-top: 0; /* Ensure proper alignment */
}

/* Customer Information Section */
.customer-info-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.customer-info-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.customer-info-section .section-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.customer-info-section .section-header p {
    color: var(--text-light);
    margin: 0;
}

.customer-info-section form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.customer-info-section .form-group {
    display: flex;
    flex-direction: column;
}

.customer-info-section label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.customer-info-section input {
    padding: 0.75rem;
    border: 2px solid var(--grey-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.customer-info-section input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 75, 255, 0.1);
}

.customer-info-section input::placeholder {
    color: var(--text-muted);
}

/* Product Grid Layout - Removed conflicting auto-fit grid */

.product-card, .catalog-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover, .catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image, .catalog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-content, .catalog-content {
    padding: 1.5rem;
}

.product-content h3, .catalog-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-content p, .catalog-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features, .catalog-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-features span, .catalog-features span {
    background: var(--grey-lightest);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--grey-lightest);
    border-radius: 8px;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.min-order {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Show More Colors Button */
.show-more-colors {
    text-align: center;
    margin-top: 2rem;
}

.show-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Progress Bar Styles */
/* REMOVED - Progress bar deleted */

/* Main Content Layout */
.main-content {
    padding-top: 150px;
    min-height: calc(100vh - 200px);
}

.step-header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 3rem;
}

.step-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Order Summary Styles */
.order-summary-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.order-summary-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.summary-content {
    display: grid;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--grey-lightest);
    border-radius: 8px;
}

.summary-item .label {
    font-weight: 600;
    color: var(--text-color);
}

.summary-item .value {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-item.total {
    background: var(--primary-color);
    color: white;
}

.summary-item.total .label,
.summary-item.total .value {
    color: white;
}

.summary-item.total .value {
    font-size: 1.2rem;
}

/* Order Details Styles */
.order-details-section {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-card h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.detail-item {
    display: flex;
    justify-content: space-between;
        align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grey-lightest);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    font-weight: 600;
    color: var(--text-color);
}

.detail-item .value {
    color: var(--text-muted);
}

.detail-item.total {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Status Indicators */
.status-success {
    color: var(--success-color) !important;
}

.status-warning {
    color: var(--warning-color) !important;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-lightest);
}

.next-step-enabled {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-step .step-label {
        font-size: 0.75rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-selection-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .step-header h1 {
        font-size: 2rem;
    }
}

/* Shopping Cart Styles */
.shopping-cart-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.cart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cart-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--grey-lightest);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: var(--grey-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-info h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.cart-item-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.cart-item-status.pending {
    background: var(--warning-color);
    color: white;
}

.cart-item-status.configured {
    background: var(--success-color);
    color: white;
}

.cart-item-status.completed {
    background: var(--primary-color);
    color: white;
}

.cart-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

.cart-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--grey-lightest);
}

/* Message Styles */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.message-success {
    background: var(--success-color);
}

.message-info {
    background: var(--primary-color);
}

.message-error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design for Cart */
@media (max-width: 768px) {
    .shopping-cart-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Product Selector Styles */
.product-selection-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.product-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-option {
    background: var(--grey-lightest);
    border: 2px solid var(--grey-light);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.product-option:hover {
    background: var(--grey-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-option.configured {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
}

.product-option.configured:hover {
    background: var(--success-color);
    border-color: var(--success-color);
}

.product-option-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.product-option:not(.configured) .product-status {
    background: var(--warning-color);
    color: white;
}

.product-option.configured .product-status {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.product-option-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.checkmark {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsive Design for Product Selector */
@media (max-width: 768px) {
    .product-selector {
        grid-template-columns: 1fr;
    }
    
    .product-option {
        padding: 1rem;
    }
}

/* Complete Order Summary Card Styles */
.complete-order-summary-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--success-color);
}

.complete-order-summary-card h3 {
    color: var(--success-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.complete-order-summary-card .summary-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.complete-order-summary-card .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--grey-lightest);
    border-radius: 8px;
}

.complete-order-summary-card .summary-item.total {
    background: var(--success-color);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.complete-order-summary-card .summary-item.total .label {
    color: white;
}

.complete-order-summary-card .summary-item.total .value {
    color: white;
    font-weight: 700;
}



/* Continue Section Styles */
.continue-section {
    background: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--grey-lightest);
}

.continue-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-large:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Products Grid - Compact 2x3 Layout */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 1.5rem !important;
    margin: 2rem auto !important;
    max-width: 1000px !important;
    padding: 0 1rem !important;
}

/* Compact Product Card Styles */
.product-card {
    background: var(--white) !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    display: flex !important;
    flex-direction: column !important;
    height: 320px !important; /* Compact height for better grid appearance */
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
    /* Force grid item behavior */
    grid-column: auto !important;
    grid-row: auto !important;
}

.product-card .product-image {
    flex: 0 0 auto;
    margin-bottom: 0.75rem;
    text-align: center;
}

.product-card .product-image img {
    width: 100%;
    height: 120px; /* Smaller image height */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-card .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .product-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.product-card .product-content p {
    margin: 0 0 0.75rem 0;
    color: var(--text-muted);
    line-height: 1.4;
    font-size: 0.85rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.product-card .product-features span {
    background: var(--grey-lightest);
    color: var(--text-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.product-card .product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--grey-lightest);
}

.product-card .product-pricing .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .product-pricing .min-order {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

/* Hover Effects */
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

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

/* Selected State */
.product-card.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.product-card.selected .product-content h3,
.product-card.selected .product-content p,
.product-card.selected .product-features span,
.product-card.selected .product-pricing .price,
.product-card.selected .product-pricing .min-order {
    color: white;
}

.product-card.selected .product-features span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.product-card.selected .product-pricing {
    border-top-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Products Grid */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        max-width: 800px;
        gap: 1.25rem;
    }
    
    .product-card {
        height: 300px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 1rem;
        max-width: 400px;
        padding: 0 0.5rem;
    }
    
    .product-card {
        height: auto;
        min-height: 280px;
        padding: 1rem;
    }
    
    .product-card .product-image img {
        height: 100px;
    }
    
    .product-card .product-content h3 {
        font-size: 1.2rem;
    }
    
    .product-card .product-content p {
        font-size: 0.9rem;
    }
}

/* Shop Header Styling */
.shop-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b46c1 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    margin-bottom: 2rem;
}

.shop-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.shop-header .section-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shop-header .section-header p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    font-weight: 300;
}

/* Product Selection Card */
.product-selection-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.product-selection-card .step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.product-selection-card .step-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    padding: 0 0 3rem 0;
}

.products-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Force grid layout on products grid */
.products-section .products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 1.5rem !important;
    margin: 2rem auto !important;
    max-width: 1000px !important;
    padding: 0 1rem !important;
}

/* Ensure container doesn't interfere with grid */
.products-section .container {
    display: block !important;
}

/* Debug: Add border to see grid layout */
.products-grid {
    border: 3px solid red !important;
}

.product-card {
    border: 2px solid blue !important;
}

/* Continue Section */
.continue-section {
    background: var(--grey-lightest);
    padding: 2rem 0;
    margin-top: 2rem;
}

.continue-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.continue-content .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.continue-content .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.continue-content .btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

