/* CSS Variables */
:root {
    --primary-color: #0052CC;
    --primary-hover: #0747A6;
    --border-color: #DFE1E6;
    --text-primary: #172B4D;
    --text-secondary: #6B778C;
    --background-light: #F4F5F7;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* General Layout */
.label-designer-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.designer-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1260px;
    margin: 0 auto;
    width: 100%;
}

.designer-controls {
    flex: 0 0 460px;
    background: #F8F9FA;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: fit-content;
}

.control-group {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.control-group:last-child {
    border-bottom: none;
}

.group-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

.help-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: help;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.help-icon:hover {
    background: #D1D5DB;
    color: #374151;
}

.tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1F2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: normal;
    width: max-content;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #1F2937;
    transform: rotate(45deg);
}

.help-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Text Input Section in Control Group */
.text-input-section {
    margin-bottom: 1rem;
}

.text-input-group textarea {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-primary);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.text-input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

.text-input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.text-input-group input {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-primary);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.text-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

/* Selected Icons in Control Group */
.control-selected-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.control-selected-icon {
    position: relative; /* Önemli: Remove butonu için pozisyonlama */
    width: 48px;
    height: 48px;
    padding: 8px;
    background: #F0F7FF;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-selected-icon .icon {
    width: 100%;
    height: 100%;
}

.control-selected-icon .remove-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #FF4D4F;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 12px;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.control-selected-icon .remove-icon:hover {
    background: #FF7875;
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.control-selected-icon .remove-icon:active {
    transform: scale(0.95);
}

.control-selected-icon .icon {
    width: 100%;
    height: 100%;
}

.control-remove-icon {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FF6B6B;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-remove-icon:hover {
    background: #FF4C4C;
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.control-remove-icon svg {
    fill: none;
    stroke: white;
}

/* Font Category Section */
.font-category-section {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 28px;
}

.font-category-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 0;
    width: 100%;
}

.font-category-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

.font-category-button:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.font-category-button:not(.active):hover::after,
.font-category-button.active::after {
    transform: scaleX(1);
}

.font-category-button:hover {
    background: #F8FAFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.font-category-button.active {
    background: #F0F7FF;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Font preview animasyonu */
.font-category-button.active .font-preview-text {
    animation: iconPulse 2s infinite;
}

.font-preview-text {
    font-size: 20px;
    line-height: 1;
    margin-right: 6px;
}

.font-category-name {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.font-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 12px;
}

.font-option {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
}

.font-option:hover {
    background: #F8FAFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.font-option.selected {
    background: #F0F7FF;
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.font-option span:first-child {
    font-size: 24px;
}

.font-option span:last-child {
    font-size: 13px;
    margin-top: 6px;
    color: var(--text-secondary);
}

/* Scroll Buttons */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    z-index: 1;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scroll-button:hover:not(:disabled) {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.scroll-button:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.scroll-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scroll-button.left {
    left: 0;
}

.scroll-button.right {
    right: 0;
}

/* Icon Options */
.icon-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütunlu grid yapısı */
    gap: 16px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 12px;
}


.icon-option-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.icon-option {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.icon-option:hover:not(:disabled) {
    background: #F8FAFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.icon-option.selected {
    background: #F0F7FF;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.icon-option .icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-option:hover {
    background: #F8FAFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon-option.selected {
    background: #F0F7FF;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color);
    transform: scale(1.05); /* Seçili durumda büyüme efekti */
}

.icon-option:hover .icon {
    transform: scale(1.2);
}

.icon-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 6px;
    margin-bottom: 4px;
}

/* Canvas Area */
.designer-canvas {
    position: sticky;
    top: 20px;
    width: 400px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    height: auto;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

/* Preview Header */
.preview-header {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.preview-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.dimension-info {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.actual-size {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.canvas-frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background: #F8F9FA;
    border-radius: 8px;
    overflow: visible;
}

.label-preview {
    position: relative;
    border-radius: 4px;
    overflow: visible;
    transition: width 0.3s ease, height 0.3s ease;
    border: 1px solid #E5E7EB;
    z-index: 1;
    background: #FFFFFF;
}

/* Size indicator styles */
.size-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.width-indicator {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #E5E7EB;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #374151;
    font-weight: 300;
    white-space: nowrap;
    z-index: 2;
    line-height: 1.4;
}

.height-indicator {
    position: absolute;
    right: -67px;
    top: 42.5%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: left center;
    background: #E5E7EB;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    z-index: 2;
    line-height: 1.4;
}

.dimension-line {
    position: absolute;
    background: #D1D5DB;
    z-index: 1;
}

.width-line {
    top: -20px;
    left: 0;
    right: 0;
    height: 1px;
}

.height-line {
    right: -25px;
    top: 0;
    bottom: 0;
    width: 1px;
}

.label-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-content-wrapper {
    display: flex;
    flex-direction: column;
    padding: 15px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: #FFFFFF;
    position: relative;
}

.label-text-display {
    height: 100%;
    position: relative;
}

/* Top content styles */
.top-content {
    flex: 0 0 auto;
    position: relative;
    padding-top: 10px;
}

.middle-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent; /* background'ı kaldırdık daha iyi görünüm için */
    padding: 10px 0; /* Ekstra padding ekledik */
}

.text-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4px;
    box-sizing: border-box;
}

.text-section.top {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
}

.text-section.top .text-display {
    white-space: pre-wrap;
    word-break: break-word;
    text-align: center;
    line-height: 1.2;
    max-height: calc(1.2em * 2); /* 2 satır için maksimum yükseklik */
}

.text-section.top-adjacent {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
}

.text-section.top-adjacent .text-display {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.2;
    max-height: calc(1.2em * 4); /* 4 satır için maksimum yükseklik */
}

.text-section.bottom {
    width: 100%;
    height: auto;
    max-height: 100%;
}

/* Text display styles */
.text-display {
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
}

.icons-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 7px 0;
}

.icons-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* 30px'den 40px'e çıkardık */
    height: 32px; /* 30px'den 40px'e çıkardık */
    flex-shrink: 0;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.bottom-content {
    position: absolute;
    top: calc(50% + 40px);
    max-height: calc(50% - 50px);
    left: 0;
    right: 0;
    padding: 0 4px;
    display: flex;
    align-items: center;
}

.text-section.bottom .text-display {
    white-space: pre-wrap;
    word-break: break-word;
    text-align: center;
    line-height: 1.2;
    max-height: calc(1.2em * 8); /* 8 satır için maksimum yükseklik */
}

/* Order Section */
.order-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector label {
    font-weight: 500;
    color: var(--text-primary);
}

.quantity-selector select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.quantity-selector select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
}

.price-per-piece {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.price-with-discount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-info {
    display: block;
    margin-left: 0;
    background: #d1fae5;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
    color: #047857 !important;
    padding: 3px 10px;
    width: fit-content;
    text-align: left;
}

.add-to-cart-button {
    margin-top: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-button:hover {
    background: var(--primary-hover);
}

.add-to-cart-button:disabled {
    background: #A0AEC0;
    cursor: not-allowed;
}

.add-to-cart-button.loading {
    background: #A0AEC0;
    cursor: wait;
}

/* Hover and Selected Effects */
.font-option,
.icon-option {
    transition: all 0.2s ease;
}

.font-option:hover,
.icon-option:hover {
    border-color: var(--primary-color);
    background: #F8FAFF;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.font-option.selected,
.icon-option.selected {
    border-color: var(--primary-color);
    background: #F0F7FF;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.font-option.selected .font-name {
    color: #2563EB;
}

/* Responsive Design */
@media (max-width: 1260px) {
    .designer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .designer-controls {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .designer-canvas {
        width: 100%;
        position: relative;
        top: 0;
    }

    .canvas-frame {
        padding: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .label-designer-wrapper {
        padding: 1.5rem;
    }

    .font-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    }

    .icon-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    }
}

@media (max-width: 768px) {
    .label-designer-wrapper {
        padding: 1rem;
    }

    .control-group {
        padding: 0.75rem;
    }

    .font-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .icon-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }
}

@media (max-width: 480px) {
    .label-designer-wrapper {
        padding: 0.5rem;
    }

    .control-group {
        padding: 0.5rem;
    }

    .font-category-section {
        padding: 0 20px;
    }

    .scroll-button {
        width: 20px;
        height: 20px;
    }

    .scroll-button svg {
        width: 12px;
        height: 12px;
    }

    .font-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .icon-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    }

    .preview-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .font-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    }

    .icon-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    }
}

/* iPad ve Tabletler için özel düzenlemeler */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .designer-container {
        max-width: 95%;
    }

    .font-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    }

    .canvas-frame {
        padding: 1.5rem;
    }
}

/* Yatay mod için düzenlemeler */
@media (max-height: 600px) and (orientation: landscape) {
    .designer-container {
        flex-direction: row;
        gap: 1rem;
    }

    .designer-controls {
        max-height: 80vh;
        overflow-y: auto;
    }

    .designer-canvas {
        position: sticky;
        top: 1rem;
    }
}

/* Safe area için düzenlemeler (iPhone X ve üzeri) */
@supports (padding: max(0px)) {
    .label-designer-wrapper {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Dokunmatik cihazlar için iyileştirmeler */
@media (hover: none) {
    .scroll-button:hover {
        transform: translateY(-50%);
        box-shadow: var(--shadow-sm);
    }

    .font-option:hover,
    .icon-option:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .font-option,
    .icon-option {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

.fabric-type-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.fabric-type-button {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Dikey yönde düzenleme */
    align-items: center; /* İçerikleri yatayda ortalar */
    gap: 12px;
    transition: all 0.2s ease;
}

.fabric-type-button:hover {
    background: #F8FAFF;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.fabric-type-button.selected {
    background: #F0F7FF;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.fabric-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #F3F4F6;
    flex-shrink: 0;
}

.fabric-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center; /* Yazıları yatayda ortalar */
    text-align: center; /* Yazıları içeriğinde ortalar */
    width: 100%; /* Tam genişlik kullanır */
}


.fabric-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center; /* Başlığı ortalar */
}

.fabric-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: center; /* Açıklamayı ortalar */
}
/* Fabric Textures */
.label-content-wrapper.satin {
    position: relative;
    background: #FFFFFF;
}

.label-content-wrapper.satin::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0px, rgba(0, 0, 0, 0.07) 1px, transparent 1px, transparent 2px),
            repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0px, rgba(0, 0, 0, 0.07) 1px, transparent 1px, transparent 2px),
            repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 3px),
            repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 3px);
    background-size: 2px 2px, 2px 2px, 3px 3px, 3px 3px;
    opacity: 0.5;
    z-index: 2;
}

/* Fabric Type Icon Previews */
.fabric-type-button .fabric-icon {
    position: relative;
}

.fabric-type-button.satin .fabric-icon {
    background: #FFFFFF;
}

.fabric-type-button.satin .fabric-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0px, rgba(0, 0, 0, 0.07) 1px, transparent 1px, transparent 2px),
            repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0px, rgba(0, 0, 0, 0.07) 1px, transparent 1px, transparent 2px);
    background-size: 2px 2px;
    opacity: 0.5;
}

.fabric-type-button.satin .fabric-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 3px),
            repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 3px);
    background-size: 3px 3px;
    opacity: 0.6;
}
