/*// =============================================================================
// Ella Custom CSS - Customize The Style For Layout
// =============================================================================

/* custom rugs */
.custom-size-button {
    background: #d4a574;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin: 15px 0;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.custom-size-button:hover {
    background: #c19660;
}

.custom-size-calculator {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
}

.calculator-header {
    background: #f0f0f0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.calculator-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.close-calculator {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-calculator:hover {
    color: #333;
}

.calculator-content-compact {
    padding: 20px;
}

.dimensions-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.shape-selector-compact {
    flex: 0 0 120px;
}

.shape-selector-compact label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.shape-selector-compact select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: white;
    height: 34px;
}

.dimensions-inputs-compact {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.input-group-compact {
    flex: 1;
    min-width: 80px;
}

.input-group-compact label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.input-group-compact input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    height: 34px;
}

.input-group-compact input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 3px rgba(212, 165, 116, 0.3);
}

.shape-preview-compact {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 80px;
}

.results-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    flex-wrap: wrap;
}

.area-display-compact,
.price-display-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
}

.area-display-compact .label,
.price-display-compact .label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

#area-display {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

#calculated-price-display {
    font-size: 14px;
    font-weight: bold;
    color: #d4a574;
}

.calculate-button-compact {
    background: #d4a574;
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 34px;
    flex-shrink: 0;
}

.calculate-button-compact:hover {
    background: #c19660;
}

.calculator-note-compact {
    background: #e7f3ff;
    padding: 10px 15px;
    font-size: 11px;
    color: #0066cc;
    border-top: 1px solid #ddd;
    margin: 0;
}

/* Responsive Design for Compact Layout */
@media (max-width: 768px) {
  .product-accordion-content table.MsoNormalTable{
 width: unset !important; 
}
    .dimensions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .shape-selector-compact {
        flex: none;
    }
    
    .dimensions-inputs-compact {
        min-width: auto;
    }
    
    .shape-preview-compact {
        flex: none;
        height: 60px;
    }
    
    .results-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .area-display-compact,
    .price-display-compact {
        min-width: auto;
        justify-content: center;
    }
    
    .calculator-content-compact {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .dimensions-inputs-compact {
        flex-direction: column;
        gap: 8px;
    }
    
    .calculator-header {
        padding: 12px 15px;
    }
    
    .calculator-header h3 {
        font-size: 14px;
    }
    
    .custom-size-button {
        max-width: none;
    }
}
#shape-frame svg{
    width:100;
    height:80;
}
a.slide-button.button.no-des{
    font-size: 24px !important;
}
/* shipping and return tab table */
table.MsoNormalTable{
 width: unset !important; 
}




/* shop by color */
.shop-by-color__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 items per row */
  gap: 20px;
  padding: 20px 0;
}

.shop-by-color__item {
  text-align: center;
}

.shop-by-color__image {
  width: 220px;     /* fix width */
  height: 150px;    /* fix height */
  overflow: hidden;
  margin: 0 auto;
}

.shop-by-color__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop to fit */
  display: block;
}

.shop-by-color__title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: center;
}
@media(max-width: 767px) {
  .shop-by-color__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .shop-by-color__item {
    text-align: center;
  }
  .shop-by-color__image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .shop-by-color__title {
    margin-top: 4px;
    font-size: 14px;
  }
}

/* ✅ Desktop: hide site-nav-list */
@media(min-width: 768px) {
  .site-nav-list {
    display: none !important;
  }
}

/* ✅ Desktop: center align shop by color */
.shop-by-color__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 items per row */
  gap: 20px;
  padding: 20px 0;
  justify-content: center; /* center grid items */
}

/* ✅ Desktop items center */
.shop-by-color__item {
  text-align: center;
}

/* ✅ Desktop images */
.shop-by-color__image {
  width: 220px;
  height: 150px;
  overflow: hidden;
  margin: 0 auto;
}

.shop-by-color__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ✅ Title */
.shop-by-color__title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

/* ✅ Mobile styles */
@media(max-width: 767px) {
  .shop-by-color__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
    justify-content: center; /* center on mobile too */
  }

  .shop-by-color__image {
    width: 170px;   /* smaller size */
    height: 130px;
    margin: 0 auto;
  }

  .shop-by-color__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .shop-by-color__title {
    margin-top: 4px;
    font-size: 14px;
  }
}


/* cart border radius */
.cart-item{
    border-radius:20px;
}

/* custom rug quiz design */
/* Overall layout */
    .rfq {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1rem;
      font-family: Bricolage Grotesque, sans-serif !important;
      color: #333;
    }
    .rfq__heading {
      font-family: Bricolage Grotesque, sans-serif !important;
      text-align: center;
      font-size: 3rem;
      margin-bottom: 2rem;
    }
    .rfq__wrapper {
      display: flex;
      flex-direction: column;
    }
    .rfq__step {
      display: none;
    }
    .rfq__step.active {
      display: block;
    }
    .rfq__content {
      font-family: Bricolage Grotesque, sans-serif !important;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: start;
    }
    .rfq__left {
      display: flex;
      flex-direction: column;
    }
    .rfq__left--centered {
      align-items: center;
      text-align: center;
    }
    .rfq__right img,
    .rfq__image-placeholder {
      width: 100%;
      height: auto;
      border-radius: 8px;
      object-fit: cover;
      background-color: #f0f0f0;
    }
    .rfq__progress {
      margin-bottom: 1rem;
    }
    .rfq__progress-text {
      font-family: Bricolage Grotesque, sans-serif !important;
      font-size: 1.8rem;
      color: #666;
      margin-bottom: 0.2rem;
    }
    .rfq__progress-bar {
      background: #e5e5e5;
      height: 4px;
      border-radius: 2px;
      position: relative;
    }
    .rfq__progress-bar-fill {
      background: #333;
      height: 100%;
      border-radius: 2px;
      width: 0;
    }
    .rfq__question {
      font-family: Bricolage Grotesque, sans-serif !important;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .rfq__options {
      font-family: Bricolage Grotesque, sans-serif !important;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }
    .rfq__options--grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 0.5rem;
    }
    .rfq__option {
      font-size:18px;
      font-family: Bricolage Grotesque, sans-serif !important;
      padding: 0.75rem 1rem;
      background: #fafafa;
      border: 1px solid #ddd;
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .rfq__option.selected {
      background: #fff;
      border-color: #333;
    }
    .rfq__continue {
      align-self: flex-start;
      padding: 0.75rem 2rem;
      background: #333;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1.9rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-top: 1rem;
    }
    .rfq__continue.rfq__continue--hidden {
      display: none;
    }
    /* Email form */
    .rfq__email-form {
      display: flex;
      flex-direction: row;
      gap: 0.5rem;
      margin: 1rem 0;
    }
    .rfq__email-form input {
      font-family: Bricolage Grotesque, sans-serif !important;
      flex: 1;
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    .rfq__email-form button {
      padding: 0.75rem 1.5rem;
      background: #333;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      text-transform: uppercase;
      font-size: 1.8rem;
    }
    .rfq__skip-link {
      font-family: Bricolage Grotesque, sans-serif !important;
      display: inline-block;
      margin-top: 0.5rem;
      font-size: 1.8rem;
      text-decoration: underline;
      color: #333;
      cursor: pointer;
    }
    /* Results */
    .rfq__results-header {
      font-family: Bricolage Grotesque, sans-serif !important;
      margin-bottom: 1rem;
    }
    .rfq__selected-filters {
      margin-bottom: 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .rfq__selected-filters .rfq__chip {
      background: #f0f0f0;
      border-radius: 50px;
      padding: 0.4rem 0.8rem;
      font-size: 1.75rem;
    }
    .rfq__results-list {
      font-family: Bricolage Grotesque, sans-serif !important;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1rem;
    }
    .rfq__product {
      font-family: Bricolage Grotesque, sans-serif !important;
      border: 1px solid #e5e5e5;
      border-radius: 4px;
      padding: 0.5rem;
      text-align: center;
      background: #fff;
    }
    .rfq__product img {
      width: 100%;
      height: auto;
      border-radius: 4px;
    }
    .rfq__product-title {
      font-family: Bricolage Grotesque, sans-serif !important;
      font-size: 1.9rem;
      margin: 0.4rem 0;
    }
    .rfq__product-price {
      font-family: Bricolage Grotesque, sans-serif !important;
      font-weight: 600;
      font-size: 1.85rem;
    }
    .rfq__restart {
      margin-top: 2rem;
      padding: 0.75rem 2rem;
      background: #333;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1.9rem;
      text-transform: uppercase;
    }
    .rfq__back {
      align-self: flex-start;
      margin-top: 0.5rem;
      padding: 0;
      background: transparent;
      border: none;
      color: #333;
      font-size: 1.8rem;
      text-decoration: underline;
      cursor: pointer;
    }
    @media (max-width: 768px) {
      .rfq__content {
        font-family: Bricolage Grotesque, sans-serif !important;
        grid-template-columns: 1fr;
      }
    }

  .Avada-Faq_FitIcon-Container.Avada-Faq_FitIcon-Container__zoomIn.chatty-icon svg {
    zoom: 2.6 !important;
}


// =============================================================================
//
// IMPORTANT DISCLAIMER
// Shopify is notifying shop owners about the need to convert scss files to css files.
// Please use only CSS to style the layout.
//
// =============================================================================*/
