.elementor-widget-container [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-container [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-1425 .elementor-element.elementor-element-7be71abc{--display:flex;}.elementor-widget-text-editor [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-text-editor [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-widget-text-editor .wpcf7 input:not([type="submit"]){background-color:var( --e-global-color-primary );}.elementor-widget-text-editor .wpcf7 select{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor .wpcf7 textarea{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor .wpcf7 label{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-text-editor ::placeholder{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-text-editor .wpcf7-submit{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}.elementor-widget-text-editor .wpcf7 input[type="submit"]:hover{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-html [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-html [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 input:not([type="submit"]){background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 select{background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 textarea{background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 label{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-html ::placeholder{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7-submit{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 input[type="submit"]:hover{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}:root{--page-title-display:none;}/* Start custom CSS for text-editor, class: .elementor-element-28f11e12 */* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
            color: var(--text);
            line-height: 1.6;
            padding: 40px 20px;
            min-height: 100vh;
        }
        
        .wishlist-container {
            max-width: 1200px;
            margin: 0 auto;
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }
        
        .wishlist-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .wishlist-header::before {
            content: "";
            position: absolute;
            top: -20px;
            right: -20px;
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
        
        .wishlist-header h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 10px;
            position: relative;
            z-index: 2;
        }
        
        .wishlist-header p {
            opacity: 0.9;
            font-size: 1.05rem;
            position: relative;
            z-index: 2;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .wishlist-icon {
            position: absolute;
            top: 25px;
            right: 25px;
            font-size: 2.5rem;
            opacity: 0.2;
            z-index: 1;
        }
        
        .wishlist-content {
            padding: 30px;
        }
        
        /* Styling untuk tabel wishlist */
        .wishlist_table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin: 0;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .wishlist_table thead {
            background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
        }
        
        .wishlist_table th {
            padding: 20px 15px;
            text-align: left;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            color: var(--text);
            border-bottom: 2px solid var(--border);
        }
        
        .wishlist_table td {
            padding: 20px 15px;
            border-bottom: 1px solid var(--border);
            vertical-align: middle;
        }
        
        .wishlist_table tr:last-child td {
            border-bottom: none;
        }
        
        .wishlist_table tr {
            transition: var(--transition);
        }
        
        .wishlist_table tbody tr:hover {
            background-color: rgba(74, 107, 223, 0.03);
        }
        
        /* Product remove button */
        .product-remove a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #fff;
            color: var(--accent) !important;
            font-size: 1.5rem;
            font-weight: 300;
            text-decoration: none;
            transition: var(--transition);
            border: 1px solid var(--border);
        }
        
        .product-remove a:hover {
            background: var(--accent);
            color: white !important;
            transform: scale(1.1);
        }
        
        /* Product thumbnail */
        .product-thumbnail a {
            display: block;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        
        .product-thumbnail a:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        
        .product-thumbnail img {
            width: 80px;
            height: auto;
            border-radius: 12px;
            display: block;
        }
        
        /* Product name */
        .product-name a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            font-size: 1.1rem;
        }
        
        .product-name a:hover {
            color: var(--primary);
            text-decoration: none
        }
        
        /* Product price */
        .product-price {
            font-weight: 600;
        }
        
        .product-price del {
            color: var(--text-light);
            font-size: 0.9rem;
            margin-right: 8px;
        }
        
        .product-price ins {
            background: transparent;
            color: var(--primary);
            text-decoration: none;
            font-size: 1.1rem;
        }
        
        /* Stock status */
        .product-stock-status .wishlist-in-stock {
            display: inline-flex;
            align-items: center;
            padding: 8px 15px;
            background: rgba(76, 175, 80, 0.1);
            color: #4caf50;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .product-stock-status .wishlist-in-stock::before {
            content: "";
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #4caf50;
            margin-right: 8px;
        }
        
        /* Add to cart button */
        .product-add-to-cart a.button {
            display: inline-flex;
            align-items: center;
            background: var(--primary);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
        }
        
        .product-add-to-cart a.button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(92, 6, 6, 0.53);
            
        }
        
        .product-add-to-cart a.button i {
            margin-right: 8px;
        }
        
        /* Empty wishlist state */
        .wishlist-empty {
            text-align: center;
            padding: 60px 30px;
        }
        
        .wishlist-empty i {
            font-size: 4rem;
            color: var(--text-light);
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        .wishlist-empty h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            color: var(--text);
            margin-bottom: 15px;
        }
        
        .wishlist-empty p {
            color: var(--text-light);
            margin-bottom: 30px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .wishlist-empty a {
            display: inline-flex;
            align-items: center;
            background: var(--primary);
            color: white;
            padding: 14px 25px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .wishlist-empty a:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(74, 107, 223, 0.3);
        }
        
        /* Responsive design */
        @media (max-width: 992px) {
            .wishlist_table thead {
                display: none;
            }
            
            .wishlist_table tr {
                display: block;
                margin-bottom: 25px;
                border: 1px solid var(--border);
                border-radius: var(--radius);
                padding: 20px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            }
            
            .wishlist_table td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 10px;
                border-bottom: 1px solid var(--border);
            }
            
            .wishlist_table td:last-child {
                border-bottom: none;
            }
            
            .wishlist_table td::before {
                content: attr(data-title);
                font-weight: 600;
                color: var(--text);
                margin-right: 15px;
                flex: 1;
            }
            
            .wishlist_table td .product-thumbnail a {
                margin-left: auto;
            }
            
            .product-remove {
                position: absolute;
                top: 10px;
                right: 10px;
            }
            
            .wishlist_table tr {
                position: relative;
            }
        }
        
        @media (max-width: 576px) {
            .wishlist-header {
                padding: 20px;
            }
            
            .wishlist-header h1 {
                font-size: 1.8rem;
            }
            
            .wishlist-content {
                padding: 20px;
            }
            
            .wishlist_table td {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .wishlist_table td::before {
                margin-bottom: 8px;
            }
            
            .product-add-to-cart a.button {
                width: 100%;
                justify-content: center;
            }
        }
        
        .wishlist-footer {
            padding: 25px 30px;
            background: var(--bg);
            text-align: center;
            border-top: 1px solid var(--border);
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        .wishlist-share {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
        }
        
        .wishlist-share a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .wishlist-share a:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
        
        
/*====media sosialnya===*/

/* Wrapper Share */
.yith-wcwl-share {
  margin-top: -15px;
  padding: 10px;
  border-radius: 12px;
  background: #f9fafb;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.yith-wcwl-share-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111827;
}

/* Share List */
.yith-wcwl-share ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Tombol Share */
.yith-wcwl-share ul .share-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Icon SVG */
.yith-wcwl-icon-svg {
  width: 20px !important;
  height: 20px !important;
}

/* Warna Default */
.yith-wcwl-share .facebook { background: #3b5998; }
.yith-wcwl-share .twitter { background: #1da1f2; }
.yith-wcwl-share .email { background: #ef4444; }
.yith-wcwl-share .whatsapp { background: #25d366; }

/* Hover Efek Dinamis */
.yith-wcwl-share ul .share-button a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  filter: brightness(1.1);
}

.yith-wcwl-share .share-button .whatsapp + p {
  display: none !important;
}


/*sbntar++++++++++++++*/


        /* Mobile-specific styles */
        @media (max-width: 992px) {
            .wishlist-items-wrapper {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }
            
            .wishlist-items-wrapper li {
                background: var(--card-bg);
                border-radius: var(--radius);
                padding: 20px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
                position: relative;
                border: 1px solid var(--border);
            }
            
            .item-wrapper {
                display: flex;
                gap: 15px;
                margin-bottom: 15px;
            }
            
            .product-thumbnail {
                flex: 0 0 100px;
            }
            
            .product-thumbnail a {
                display: block;
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }
            
            .product-thumbnail img {
                width: 100%;
                height: auto;
                border-radius: 12px;
                display: block;
            }
            
            .item-details {
                flex: 1;
            }
            
            .product-name h3 {
                margin-bottom: 10px;
                font-size: 1.1rem;
                line-height: 1.4;
                padding-right: 30px; /* Ruang untuk tombol hapus */
            }
            
            .product-name a {
                color: var(--text);
                text-decoration: none;
                font-weight: 600;
                transition: var(--transition);
            }
            
            .product-name a:hover {
                color: var(--primary);
            }
            
            .item-details-table {
                width: 100%;
                margin-bottom: 15px;
            }
            
            .item-details-table tr {
                display: flex;
                flex-direction: column;
                margin-bottom: 8px;
            }
            
            .item-details-table .label {
                font-weight: 600;
                color: var(--text-light);
                font-size: 0.9rem;
                margin-bottom: 4px;
            }
            
            .item-details-table .value {
                font-weight: 600;
            }
            
            .item-details-table del {
                color: var(--text-light);
                font-size: 0.9rem;
                margin-right: 8px;
            }
            
            .item-details-table ins {
                background: transparent;
                color: var(--primary);
                text-decoration: none;
                font-size: 1.1rem;
            }
            
            .additional-info-wrapper {
                display: flex;
                flex-direction: column;
                gap: 15px;
            }
            
            .additional-info {
                width: 100%;
            }
         .additional-info-wrapper p {
            margin-block-start: 0;
            margin-top: -40px;
            }
            
            .additional-info tr {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 10px 0;
                border-top: 1px solid var(--border);
            }
            
            .additional-info .label {
                font-weight: 600;
                color: var(--text-light);
                font-size: 0.9rem;
            }
            
            .additional-info .value .wishlist-in-stock {
                display: inline-flex;
                align-items: center;
                padding: 6px 12px;
                background: rgba(76, 175, 80, 0.1);
                color: #4caf50;
                border-radius: 20px;
                font-size: 0.85rem;
                font-weight: 500;
            }
            
            .additional-info .value .wishlist-in-stock::before {
                content: "";
                display: inline-block;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #4caf50;
                margin-right: 6px;
            }
            
            
            .product-add-to-cart {
                width: 100%;
            }
            
            .product-add-to-cart a.button {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                background: var(--primary);
                color: white;
                padding: 14px 20px;
                border-radius: 8px;
                text-decoration: none;
                font-weight: 500;
                transition: var(--transition);
                border: none;
                cursor: pointer;
                font-size: 1rem;
                gap: 8px;
            }
            
            .product-add-to-cart a.button:hover {
                background: var(--primary-dark);
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(74, 107, 223, 0.3);
            }
        }
        
        /* Tablet-specific adjustments */
        @media (min-width: 768px) and (max-width: 992px) {
            .wishlist-header {
                padding: 30px;
            }
            
            .wishlist-header h1 {
                font-size: 2rem;
            }
            
            .wishlist-content {
                padding: 25px;
            }
            
            .item-wrapper {
                gap: 20px;
            }
            
            .product-thumbnail {
                flex: 0 0 120px;
            }
            
            .additional-info-wrapper {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
            
            .additional-info {
                width: auto;
            }
            
            .product-add-to-cart {
                width: auto;
            }
            
            .product-add-to-cart a.button {
                width: auto;
                min-width: 160px;
            }
        }
        
        /* Footer styles */
        .wishlist-footer {
            padding: 20px;
            background: var(--bg);
            text-align: center;
            border-top: 1px solid var(--border);
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        .wishlist-share {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 15px;
        }
        
        .wishlist-share a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.1rem;
        }
        
        .wishlist-share a:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }



/*tombol delete disetiap produk fadli*/

/* YITH Wishlist Delete Button Styling */

/* Mobile Wishlist Layout */
.wishlist_table.mobile li {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

/* Product Remove Button Container */
.product-remove {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

/* Delete Button Styling */
.product-remove .remove_from_wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    
    color: white !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.product-remove .remove_from_wishlist:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231, 76, 60, 0.35);
    color: white !important;
}

/* Trash Icon Styling */
.product-remove .remove_from_wishlist i.fa-trash {
    font-size: 16px;
    color: white;
}

/* Alternative: If you want square button */
.product-remove .remove_from_wishlist.square {
    border-radius: 8px;
    width: 35px;
    height: 35px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    

    .product-remove {
        top: 10px;
        right: 10px;
    }
    
    .product-remove .remove_from_wishlist {
        width: 35px;
        height: 35px;
    }
    
    .product-remove .remove_from_wishlist i.fa-trash {
        font-size: 14px;
    }
}

/* Desktop Layout (if using table view) */
@media (min-width: 769px) {
    .wishlist_table:not(.mobile) .product-remove {
        position: static;
        text-align: center;
    }
    
    .wishlist_table:not(.mobile) .product-remove .remove_from_wishlist {
        width: 45px;
        height: 45px;
        border-radius: 8px;
    }
    
    .wishlist_table:not(.mobile) .product-remove .remove_from_wishlist i.fa-trash {
        font-size: 18px;
    }
}

/* Additional Info Wrapper Styling */
.additional-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Product Add to Cart and Remove Button Layout */
.product-add-to-cart {
    order: 1;
}

.product-remove {
    order: 2;
}

/* Make sure remove button is always visible */
.product-remove .remove_from_wishlist {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* Hover effect for the entire product item */
.wishlist_table.mobile li:hover .product-remove .remove_from_wishlist {
    transform: scale(1.1);
}

/* Custom styling for better UX */
.product-remove .remove_from_wishlist::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: inherit;
    background: transparent;
    z-index: -1;
}

/* Tooltip for delete button */
.product-remove .remove_from_wishlist::after {
    content: attr(title);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.product-remove .remove_from_wishlist:hover::after {
    opacity: 1;
   
    top: -40px;
}

/* Alternative Button Style - Outline */
.product-remove .remove_from_wishlist.outline {
    background: transparent;
    border: 2px solid #e74c3c
}

.product-remove .remove_from_wishlist.outline:hover {
  
    color: white !important;
}

/* Alternative Button Style - Subtle */
.product-remove .remove_from_wishlist.subtle {
    background: rgba(231, 76, 60, 0.1);
    box-shadow: none;
}

.product-remove .remove_from_wishlist.subtle:hover {
    
    color: white !important;
}

/*================*/

/* Hide trash icon on mobile and show X */
@media (max-width: 768px) {
    .product-remove .remove_from_wishlist i.fa-trash {
        display: none;
    }
    
    .product-remove .remove_from_wishlist::before {
        content: "×";
        font-size: 100px;
        font-weight: bold;
        color: white;
        margin-left:13px;
        margin-top:4px;
        line-height: 1;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Desktop - show trash icon */
@media (min-width: 769px) {
    .product-remove .remove_from_wishlist i.fa-trash {
        font-size: 16px;
        color: white;
        display: block;
    }
}

/* Alternative: If you want square button */
.product-remove .remove_from_wishlist.square {
    border-radius: 8px;
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .product-remove {
        top: 10px;
        right: 10px;
    }
    
    .product-remove .remove_from_wishlist {
        width: 32px;
        height: 32px;
        background: #fffff;
        color: #666 !important;
    }
    
    .product-remove .remove_from_wishlist:hover {
        background: #e0e0e0;
        color: #333 !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Hide trash icon and show X */
    .product-remove .remove_from_wishlist i.fa-trash {
        display: none;
    }
    
    .product-remove .remove_from_wishlist::before {
        content: "×";
        font-size: 20px;
        font-weight: bold;
        color:black;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        background: transparent;
        border-radius: 0;
        z-index: auto;
    }
}

/* Desktop Layout (if using table view) */
@media (min-width: 769px) {
    .wishlist_table:not(.mobile) .product-remove {
        position: static;
        text-align: center;
    }
    
    .wishlist_table:not(.mobile) .product-remove .remove_from_wishlist {
        width: 45px;
        height: 45px;
        border-radius: 8px;
    }
    
    .wishlist_table:not(.mobile) .product-remove .remove_from_wishlist i.fa-trash {
        font-size: 18px;
    }
}

/*input nama dengan mylist*/
.wishlist-title-container {
  margin-bottom: 20px;
}

.hidden-title-form .edit-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wishlist-input {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 250px;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(74, 107, 223, 0.3);
}

.edit-title-buttons {
  display: flex;
  gap: 8px;
}

.edit-title-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  transition: all 0.3s ease;
}

.edit-title-buttons a:hover {
  background: var(--primary);
  color: #fff;
}

.edit-title-buttons svg {
  width: 20px;
  height: 20px;
}


/*Memperbagus edit my wishlist*/
/* Container judul */
.wishlist-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* H2 Judul */
.wishlist-title-container h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tombol Edit Title */
.wishlist-title-container .show-title-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.wishlist-title-container .show-title-form:hover {
  background: #0073e6;
  color: #fff;
}

.wishlist-title-container .show-title-form svg {
  width: 16px;
  height: 16px;
}

/* Hidden form styling */
.wishlist-title-container .hidden-title-form {
  margin-top: 12px;
}

.wishlist-title-container .hidden-title-form input[type="text"] {
  width: 250px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* Tombol Save & Cancel */
.wishlist-title-container .edit-title-buttons :before{
  display: flex;
  gap: 8px;
}

.wishlist-title-container .edit-title-buttons :after{
  display: flex;
  gap: 8px;
  margin-top: -8px;
}

.wishlist-title-container .edit-title-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  transition: all 0.2s ease-in-out;
}

.wishlist-title-container .edit-title-buttons a:hover {
  background: #0073e6;
  color: #fff;
}

.wishlist-title-container .edit-title-buttons svg {
  width: 18px;
  height: 18px;
}/* End custom CSS */