html {
    margin:    0 auto;
    max-width: 1578px;
}


.bottom_div {
                position: absolute;
                bottom: 0px;
                width:100%;
                margin-top:10px;
            }
            
 .type-left { 
    float:left; 
    padding-bottom:5px;
}

 .type-right 
{ float:right 

}

.type-container {
    
    border-bottom: 1px solid grey;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    align-items: center;
    padding: 0px 0px 12px;
    margin-right:12px;
    margin-left:12px;
  

}

.type-img {
    width: 14em;
    padding-bottom:15px;
}

.type-barstool-img {
     width: 14em;
}

.type-chair-img {
     width: 12em;
}

.type-chaise-img {
     width: 14em;
}

.type-daybed-img {
     width: 14em;
}

.type-sofa-img {
     width: 14em;
}

.type-ottoman-img {
     width: 14em;
}

.type-glider-img {
     width: 14em;
}

.type-bench-img {
     width: 14em;
}

 .type-bolster-img {
     width: 13em;
}
 
 .type-throw-std-img {
     width: 8em;
}
 
 .type-throw-custom-img {
     width: 12em;
}
 
 .type-floor-img {
     width: 14em;
}
 
 .type-nook-img {
     width: 14em;
}


 #navbarBasicExample .navbar-start .active-item{
    font-weight: 600;
    border-bottom: 1px solid #1D74BA;
    color: #1D74BA;
}

.navbar{
        border-top: 1px solid #f0f3f7;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        
        border-bottom: 1px solid #f0f3f7;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
 
.subheading-3{
 
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
   
    
    letter-spacing: 0.15em;
    text-transform: uppercase;
    
    color: #000000;

}

.dim_img{
    display: flex; 
    justify-content: center;
}

.fill-option{
    width:100%;
    margin:15px;
    position: relative;
    
}

.welt-option{
    width:100%;
    margin:15px;
    position: relative;
    
}

.option-circle {
  position: absolute;
  top: 50%;
  right: 30px;
  background-color: #fff;
  color: #fff;
  font-family: tahoma, arial, 'sans-serif';
  font-size: 9px;
  width: 26px;
  line-height: 26px;
  border-radius: 50%;
  text-align: center;
  transform: translate(50%, -50%);
  
}

.option-circle-border {
  position: absolute;
  top: 50%;
  right: 31px;
  background-color: #000;
  color: #fff;
  font-family: tahoma, arial, 'sans-serif';
  font-size: 9px;
  width: 28px;
  line-height: 28px;
  border-radius: 50%;
  text-align: center;
  transform: translate(50%, -50%);
 
}
.option-circle-selected {
  position: absolute;
  top: 50%;
  right: 30px;
  background-color: #1D74BA;
  color: #1D74BA;
  font-family: tahoma, arial, 'sans-serif';
  font-size: 9px;
  width: 26px;
  line-height: 26px;
  border-radius: 50%;
  text-align: center;
  transform: translate(50%, -50%);
  border-color:#000;
}

#tab-content  .tab-container {
  display: none;
}

#tab-content .tab-container.is-active {
  display: block;
}


.type-container:hover {
    background: #f5f5f5;
    cursor: pointer;
}

.selected-item {
  background: #d4e8fc;
  border: 2px solid #3273dc;
  border-radius: 6px;
}

.selected-item:hover {
  background: #d4e8fc;
}

.navbar-item.inactive {
  color: #b5b5b5;
  cursor: default;
}

.navbar-item.inactive:hover {
  background: transparent;
  color: #b5b5b5;
}

.rotateimg90 {
  -webkit-transform:rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

/* ===== Loading Spinner ===== */
.ob-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 40px;
}

.ob-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #3273dc;
    border-radius: 50%;
    animation: ob-spin 0.8s linear infinite;
}

@keyframes ob-spin {
    to { transform: rotate(360deg); }
}

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

/* ===== Error State ===== */
.ob-error {
    text-align: center;
    padding: 40px 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ob-error-icon {
    font-size: 48px;
    color: #ff3860;
    margin-bottom: 12px;
}

.ob-error-message {
    font-size: 16px;
    color: #363636;
    margin-bottom: 16px;
}

.ob-error-retry {
    cursor: pointer;
}

/* ===== Header Styles ===== */
.ob-topbar {
    background-color: #000;
    color: white;
    padding: 26px 0;
    font-size: 14px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
}

.ob-topbar-inner {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    position: relative;
    box-sizing: border-box;
    line-height: 1;
}

.ob-topbar-left {
    display: flex;
    align-items: center;
}

.ob-topbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.ob-topbar-spacer {
    opacity: 0;
    pointer-events: none;
}

.ob-header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    width: 100vw;
    max-width: none;
    margin: 0;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    box-sizing: border-box;
}

.ob-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    max-width: 100%;
    margin: 0 auto;
}

.ob-header-logo {
    height: 50px;
}

.ob-header-cart {
    padding-right: 20px;
}

.ob-header-cart a {
    text-decoration: none;
    color: #333;
}

/* ===== Progress Bar ===== */
.ob-progress-container {
    background: #f5f5f5;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ob-progress-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.ob-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ob-progress-bar-track {
    flex: 1;
    margin: 0 20px;
    max-width: 500px;
    background: #ddd;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.ob-progress-bar-fill {
    background: #3273dc;
    height: 100%;
    width: 9%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.ob-progress-dots {
    display: flex;
    gap: 6px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.2s ease;
}

.progress-dot.completed { background: #48c774; }
.progress-dot.current { background: #3273dc; }

/* ===== Notification Toast ===== */
.ob-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.ob-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ob-toast.is-success { background: #48c774; }
.ob-toast.is-danger { background: #ff3860; }
.ob-toast.is-warning { background: #ffdd57; color: #363636; }

/* Step instruction text */
.ob-step-instruction {
    font-size: 1rem;
    color: #4a4a4a;
    margin: 0 0 0.5rem 0;
    padding: 0 0.5rem;
}

/* Terminology help text under options */
.ob-option-help {
    font-size: 0.75rem;
    color: #7a7a7a;
    text-align: center;
    padding: 0 4px;
    line-height: 1.3;
}

/* Dimension input styling */
.ob-dim-group {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.ob-dim-group label {
    font-weight: 600;
    min-width: 24px;
}

.ob-dim-group input {
    width: 100px;
    padding: 6px 8px;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    font-size: 1rem;
}

.ob-dim-group input:focus {
    border-color: #3273dc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(50,115,220,0.25);
}

.ob-dim-unit {
    color: #7a7a7a;
    font-size: 0.875rem;
}

/* Review page edit links */
.ob-review-edit {
    font-size: 0.75rem;
    color: #3273dc;
    cursor: pointer;
    margin-left: 8px;
    font-weight: 400;
}

.ob-review-edit:hover {
    text-decoration: underline;
    color: #1d5ba8;
}

/* Copy link button */
.ob-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #3273dc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    margin-top: 8px;
}

.ob-copy-btn:hover {
    background: #1d5ba8;
}

.ob-copy-btn.is-copied {
    background: #48c774;
}

/* ===== Mobile Responsive ===== */
@media screen and (max-width: 768px) {
    html {
        max-width: 100%;
    }

    #content {
        padding-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        padding-top: 20px !important;
    }

    .ob-topbar {
        padding: 16px 0;
        font-size: 12px;
    }

    .ob-topbar-center {
        position: static;
        transform: none;
        font-size: 11px;
    }

    .ob-topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .ob-header-logo {
        height: 36px;
    }

    .subheading-3 {
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    /* Progress bar stacks on mobile */
    .ob-progress-inner {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .ob-progress-bar-track {
        max-width: 100%;
        margin: 0;
    }

    .ob-progress-dots {
        justify-content: center;
    }

    /* Larger touch targets for progress dots */
    .progress-dot {
        width: 16px;
        height: 16px;
    }

    /* Type images scale down */
    .type-img,
    .type-barstool-img,
    .type-chair-img,
    .type-chaise-img,
    .type-daybed-img,
    .type-sofa-img,
    .type-ottoman-img,
    .type-glider-img,
    .type-bench-img,
    .type-bolster-img,
    .type-throw-std-img,
    .type-throw-custom-img,
    .type-floor-img,
    .type-nook-img {
        width: 100%;
        max-width: 10em;
    }

    /* Option circles repositioned for mobile */
    .option-circle,
    .option-circle-border,
    .option-circle-selected {
        right: 10px;
    }

    /* Dimension inputs wider on mobile */
    .ob-dim-group input {
        width: 80px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* Toast notifications full-width on mobile */
    .ob-toast {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    /* Fabric filter sidebar stacks above gallery */
    #all-fabrics-tab1 {
        flex-direction: column;
    }

    /* Make buttons minimum 44px touch target */
    .button,
    .pagination-link,
    .navbar-item {
        min-height: 44px;
    }
}

@media screen and (max-width: 480px) {
    .subheading-3 {
        font-size: 14px;
    }

    .type-container {
        margin-right: 4px;
        margin-left: 4px;
    }

    .fill-option,
    .welt-option {
        margin: 8px;
    }
}

/* ===== Accessibility ===== */

/* Focus visible styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid #3273dc;
    outline-offset: 2px;
}

.type-container:focus-visible,
.fill-option:focus-visible,
.welt-option:focus-visible {
    outline: 3px solid #3273dc;
    outline-offset: 2px;
    border-radius: 6px;
}

.pagination-link:focus-visible {
    outline: 2px solid #3273dc;
    outline-offset: 2px;
}

/* Ensure sufficient color contrast for inactive items */
.navbar-item.inactive {
    color: #767676; /* Meets WCAG AA 4.5:1 on white */
}

/* Skip to content link (screen reader accessible) */
.ob-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ob-skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 10px 20px;
    background: #3273dc;
    color: #fff;
    z-index: 99999;
    font-size: 16px;
    border-radius: 4px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .ob-loading-spinner {
        animation: none;
    }

    .ob-toast {
        transition: none;
    }

    .ob-progress-bar-fill {
        transition: none;
    }

    .progress-dot {
        transition: none;
    }
}

/* Action bar — holds Save, Price, Go Back, Next Step below the nav */
.ob-action-bar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    background: #fafafa;
}

.ob-action-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 8px;
}

.ob-action-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ob-action-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .ob-action-bar-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Explicit Next Step button colors — override any WP/Elementor specificity conflicts */
#next-step.is-info {
    background-color: #3273dc !important;
    border-color: transparent !important;
    color: #fff !important;
}

#next-step.is-light {
    background-color: #f5f5f5 !important;
    border-color: transparent !important;
    color: #363636 !important;
}
