/* ============================================================
   1) PERFEKT ROUND SWATCHES – KATALOG & MAĞAZA
   ============================================================ */

.aw-card-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px !important;
}

.aw-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    background: var(--swatch-color, #ccc);
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.aw-swatch:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    transform: scale(1.1);
}

.aw-swatch.active::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid #111827;
    border-radius: 50%;
}

/* ============================================================
   2) ÜRÜN DETAY SAYFASI – APPLE / WOODMART YUVARLAK SWATCHES
   ============================================================ */

.aw-single-swatches-wrapper {
    width: 100%;
    margin: 10px 0 16px 0;
}

.aw-swatch-selected-title {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.2px;
}

.aw-swatch-label-text {
    color: #86868b;
    font-weight: 500;
}

.aw-swatch-selected-name {
    color: #1d1d1f;
    font-weight: 600;
}

.aw-single-swatches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Yuvarlak Renk Butonu (Apple Tarzı) */
.aw-single-swatch-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 2px;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
    position: relative;
    box-sizing: border-box;
}

.aw-single-swatch-item:hover {
    transform: scale(1.12);
    border-color: rgba(0, 0, 0, 0.18);
}

.aw-single-swatch-item.active {
    border-color: #1d1d1f !important;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Renk Noktası / Dairesi */
.aw-swatch-dot {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
    display: block;
    transition: transform 0.2s ease;
    box-sizing: border-box;
}

/* Swatch aktifken tablodaki standart "Color" satır başlığını şık gösterme */
.single-product table.variations tr:has(.aw-single-swatches-wrapper) td.label {
    display: none !important;
}

.single-product table.variations tr:has(.aw-single-swatches-wrapper) {
    width: 100% !important;
}

.single-product table.variations tr:has(.aw-single-swatches-wrapper) td.value {
    width: 100% !important;
}

/* Swatch açıkken arkadaki gizli select ikonunun kalmamasını sağla */
.single-product table.variations tr:has(.aw-single-swatches-wrapper) td.value::after {
    display: none !important;
}