/* WCP Frontend General Trigger */
.wcp-get-the-look-wrapper {
    margin: 30px 0;
    cursor: pointer;
    background: transparent;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}
.wcp-gtl-box {
    display: flex;
    flex-direction: column;
}

.wcp-gtl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.wcp-gtl-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.wcp-gtl-text strong {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.wcp-gtl-text span {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}
.wcp-gtl-arrow {
    color: #000;
}
body.rtl .wcp-gtl-arrow svg {
    transform: rotate(180deg);
}

.wcp-gtl-thumbnails-row {
    display: flex;
    gap: 8px;
}
.wcp-gtl-thumb {
    width: 65px;
    height: 75px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wcp-gtl-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.wcp-gtl-more {
    font-weight: 600;
    color: #333;
    font-size: 13px;
    background: #f5f5f5;
}

/* Drawer UI */
.wcp-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}
.wcp-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.wcp-drawer-overlay.active .wcp-drawer-backdrop {
    opacity: 1;
}

.wcp-drawer-content {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
body.rtl .wcp-drawer-content {
    right: auto;
    left: -450px;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.wcp-drawer-overlay.active .wcp-drawer-content {
    right: 0;
}
body.rtl .wcp-drawer-overlay.active .wcp-drawer-content {
    left: 0;
}

.wcp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}
.wcp-drawer-title h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
}
.wcp-drawer-title span {
    font-size: 13px;
    color: #666;
}
.wcp-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    padding: 0;
}

.wcp-modal-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 24px 24px 24px;
}
.wcp-modal-item {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}
.wcp-modal-item:last-child {
    border-bottom: none;
}
.wcp-item-top {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.wcp-item-img {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}
.wcp-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wcp-item-info {
    flex-grow: 1;
}
.wcp-item-info h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.wcp-item-price {
    font-size: 14px;
    font-weight: 700;
}
.wcp-item-price del {
    color: #999;
    font-weight: 400;
    margin-right: 5px;
}
.wcp-saved-badge {
    background: #e6f9ed;
    color: #00b853;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 8px; /* RTL */
    display: inline-block;
}

.wcp-item-actions {
    background: #fff;
}
.wcp-selector-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Swatches styling */
.wcp-swatches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}
.wcp-swatch-option {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
    user-select: none;
}
.wcp-swatch-option:hover {
    border-color: #000;
}
.wcp-swatch-option.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Add to bag button */
.wcp-add-single-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s;
}
.wcp-add-single-btn:hover {
    background: #333;
}
.wcp-add-single-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
