<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Fabric Selector */
.fmw-fabric-selector {
    margin: 20px 0;
}

.fmw-modal-trigger {
    background-color: #2271b1;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.fmw-modal-trigger:hover {
    background-color: #135e96;
}

/* Modal */
.fmw-modal {
    background: rgba(255,255,255,0.7) !important;
    opacity: 0;
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999999 !important;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
    isolation: isolate;
    transition: opacity 0.25s;
}

.fmw-modal.show {
    opacity: 1;
    pointer-events: auto;
}

/* Side-drawer modal content */
.fmw-modal-content {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    width: 420px !important;
    max-width: 100vw !important;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 16px 0 0 16px !important;
    box-shadow: -4px 0 32px rgba(0,0,0,0.18) !important;
    padding: 32px 24px 24px 24px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    z-index: 1000000 !important;
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.25s, opacity 0.25s;
}

.fmw-modal.show .fmw-modal-content {
    transform: translateX(0);
    opacity: 1;
}

.fmw-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    color: #333;
    transition: background 0.2s;
    z-index: 10;
}
.fmw-modal-close:hover {
    background: #e0e0e0;
    color: #000;
}

/* Fabrics Grid */
.fmw-fabrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fmw-fabric-item, .fmw-swatch {
    background-color: #ffffff !important;
    color: #222222 !important;
}

.fmw-fabric-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fmw-fabric-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fmw-fabric-item.selected {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px #2271b1;
}

.fmw-fabric-image {
    margin-bottom: 15px;
}

.fmw-fabric-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.fmw-fabric-details h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.fmw-fabric-description {
    margin: 0 0 15px;
    color: #666;
    font-size: 14px;
}

.fmw-fabric-specs {
    margin-bottom: 15px;
    font-size: 14px;
}

.fmw-fabric-specs p {
    margin: 5px 0;
}

/* Width Options */
.fmw-fabric-widths {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.fmw-fabric-item.selected .fmw-fabric-widths {
    display: block;
}

.fmw-width-option {
    margin-bottom: 10px;
}

.fmw-width-option label {
    display: block;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fmw-width-option label:hover {
    background-color: #f5f5f5;
}

.fmw-width-option input[type="radio"] {
    margin-right: 8px;
}

/* Price Tiers */
.fmw-price-tiers {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.fmw-price-tiers h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.fmw-tiers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.fmw-tiers-table th,
.fmw-tiers-table td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.fmw-tiers-table th {
    font-weight: 600;
    color: #666;
}

/* No Fabrics Message */
.fmw-no-fabrics {
    padding: 15px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-align: center;
    margin: 20px 0;
}

/* Test Container */
.fmw-test-container {
    margin: 20px 0;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.fmw-test-container h3 {
    margin-top: 0;
}

.fmw-test-container p {
    margin: 10px 0;
    font-family: monospace;
    white-space: pre-wrap;
}

/* Fabric Swatch Refactor */
.fmw-swatch-row {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.fmw-fabric-swatch, .fmw-show-all-fabrics {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border-radius: 10px;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(34,113,177,0.07);
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
    margin: 0;
    padding: 0;
}
.fmw-fabric-swatch.selected,
.fmw-show-all-fabrics.selected {
    border: 2px solid #2271b1;
    box-shadow: 0 0 0 2px #eaf4fb, 0 2px 8px rgba(34,113,177,0.12);
}
.fmw-fabric-swatch-info, .fmw-fabric-swatch-name {
    text-align: center;
    width: 100%;
    font-size: 13px;
    font-weight: 400;
    color: #888;
    margin-top: 8px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fmw-show-all-fabrics {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: 2px solid transparent;
    border-radius: 10px;
    width: 80px;
    height: 80px;
    font-size: 2em;
    color: #2271b1;
    transition: border 0.2s, box-shadow 0.2s;
}
.fmw-show-all-fabrics:focus,
.fmw-show-all-fabrics:hover {
    border: 2px solid #b3d4fc;
    box-shadow: 0 0 0 2px #eaf4fb;
}
.fmw-fabric-selector-label, .fmw-option-group-label {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 12px;
    color: inherit;
    font-family: inherit;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
@media (max-width: 600px) {
    .fmw-swatch-row {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .fmw-fabric-swatch, .fmw-show-all-fabrics {
        width: 64px;
        height: 64px;
    }
    .fmw-fabric-swatch-info, .fmw-fabric-swatch-name {
        font-size: 12px;
        margin-top: 6px;
    }
    .fmw-fabric-selector-label, .fmw-option-group-label {
        font-size: 1em;
        margin-bottom: 8px;
    }
}

/* --- Responsive --- */
@media (max-width: 500px) {
    .fmw-modal-content {
        width: 100vw !important;
        border-radius: 0 !important;
        padding: 16px 8px 8px 8px !important;
    }
    .fmw-fabric-swatches-row {
        gap: 8px;
    }
    .fmw-fabric-swatch {
        width: 70px;
        padding: 6px 4px 4px 4px;
    }
    .fmw-fabric-swatch img {
        width: 40px;
        height: 40px;
    }
}

/* --- Fabric Modal Category Filter Bar --- */
.fmw-categories-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 10px 0;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f7f7f7;
    min-width: 0;
    width: 100%;
}

.fmw-categories-bar::-webkit-scrollbar {
    height: 6px;
}
.fmw-categories-bar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.fmw-categories-bar::-webkit-scrollbar-track {
    background: #f7f7f7;
}

.fmw-category-pill {
    display: inline-block;
    padding: 8px 16px;
    font-size: 15px;
    font-family: inherit;
    border: none;
    border-radius: 999px;
    background: #f7f7f7;
    color: #333;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    margin: 0;
}

.fmw-category-pill:hover,
.fmw-category-pill:focus {
    background: #e0eaff;
    color: #0073aa;
}

.fmw-category-pill.active,
.fmw-category-pill[aria-selected="true"] {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,123,170,0.08);
    border: none;
}

@media (max-width: 600px) {
    .fmw-categories-bar {
        gap: 6px;
        padding-bottom: 6px;
}
    .fmw-category-pill {
        font-size: 13px;
        padding: 7px 12px;
    }
}

body {
    background: transparent !important;
}

/* Spinner overlay */
.fmw-spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.5);
    z-index: 10000001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.fmw-spinner-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.fmw-spinner {
    border: 4px solid #eee;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: fmw-spin 1s linear infinite;
}
@keyframes fmw-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fabric Modal WooCommerce - Responsive, Centered, Mobile-Friendly Layout */

.fmw-product-options-wrapper {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fmw-section {
  margin-bottom: 32px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.fmw-option-groups {
  margin-bottom: 32px;
}

.fmw-section.fmw-fabric-options-box {
  margin-bottom: 32px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

@media (max-width: 600px) {
  .fmw-product-options-wrapper {
    max-width: 100%;
    padding: 0 8px;
  }
  .fmw-fabric-swatches-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .fmw-fabric-swatch-cell {
    max-width: 90px;
  }
  .fmw-fabric-swatch, .fmw-show-all-fabrics {
    width: 80px;
    height: 96px;
  }
  .fmw-fabric-swatch img {
    width: 80px;
    height: 96px;
  }
  .fmw-fabric-swatch-info {
    font-size: 0.95em;
    padding: 2px 0 0 0;
    max-width: 90px;
  }
}

/* Responsive swatch visibility */
.fmw-hide-desktop { display: none !important; }
.fmw-show-mobile { display: none !important; }

@media (max-width: 600px) {
  .fmw-hide-mobile { display: none !important; }
  .fmw-hide-desktop { display: block !important; }
  .fmw-show-mobile { display: inline-flex !important; }
  .fmw-show-desktop { display: none !important; }
}
@media (min-width: 601px) {
  .fmw-hide-mobile { display: block !important; }
  .fmw-hide-desktop { display: none !important; }
  .fmw-show-mobile { display: none !important; }
  .fmw-show-desktop { display: inline-flex !important; }
}

.fmw-swatch-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
  justify-items: center;
  align-items: start;
}
.fmw-fabric-swatch, .fmw-show-all-fabrics {
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 8px;
  border: 2px solid transparent;
  box-shadow: none;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  margin: 0;
  padding: 0;
}
.fmw-fabric-swatch.selected,
.fmw-show-all-fabrics.selected {
  border: 2px solid #2271b1;
  box-shadow: 0 0 0 2px #eaf4fb;
}
.fmw-fabric-swatch-info, .fmw-fabric-swatch-name {
  text-align: center;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  margin-top: 8px;
  padding: 0;
}
.fmw-show-all-fabrics {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border: 2px solid transparent;
  border-radius: 8px;
  width: 80px;
  height: 80px;
  font-size: 2em;
  color: #2271b1;
  transition: border 0.2s, box-shadow 0.2s;
}
.fmw-show-all-fabrics:focus,
.fmw-show-all-fabrics:hover {
  border: 2px solid #b3d4fc;
  box-shadow: 0 0 0 2px #eaf4fb;
}
@media (max-width: 600px) {
  .fmw-swatch-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .fmw-fabric-swatch, .fmw-show-all-fabrics {
    width: 70px;
    height: 70px;
  }
  .fmw-fabric-swatch-info, .fmw-fabric-swatch-name {
    font-size: 12px;
    margin-top: 6px;
  }
} 

/* Swiper carousel for fabric modal */
.swiper {
  width: 100%;
  height: auto;
  min-height: 250px;
  max-height: 350px;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 8px;
  background: #fff;
  padding: 0;
}
.swiper-wrapper {
  display: flex;
  transition-property: transform;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin: 0;
  padding: 0;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  padding: 0;
  display: block;
}
.fabric-swiper-thumbs {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  justify-content: center;
}
.fabric-swiper-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid #eee;
  cursor: pointer;
  opacity: 0.7;
  transition: border 0.2s, opacity 0.2s;
  border-radius: 4px;
}
.fabric-swiper-thumb.active {
  border: 2px solid #007cba;
  opacity: 1;
} </pre></body></html>