/* Little Gems Customizer Styles */

#lgc-customizer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Text color selection styles */
.lgc-text-colors {
    margin: 10px 0;
}

/* Shop Page Styles */
.lgc-gymnastics-shop {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.lgc-shop-header {
    text-align: center;
    margin-bottom: 30px; /* Reduced from default */
    padding-top: 0; /* Remove extra top padding */
}

.lgc-shop-header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0; /* Remove top margin */
}

.lgc-shop-subtitle {
    color: #666;
    font-size: 1.2em;
}

.lgc-garment-section {
    margin-bottom: 60px;
}

.lgc-garment-section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 4px solid #ff69b4;
}

.lgc-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.lgc-shop-item {
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    text-align: center;
}

.lgc-item-image {
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.lgc-shop-item:hover .lgc-item-image {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.lgc-shop-item img {
    width: 100%;
    height: auto;
    display: block;
}

.lgc-color-name {
    display: block;
    margin-top: 12px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

/* Loading spinner */
.lgc-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.lgc-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff69b4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lgc-text-colors label {
    display: inline-block;
    margin-right: 10px;
    font-weight: 600;
}

.lgc-text-color {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
    vertical-align: middle;
    transition: all 0.3s;
}

.lgc-text-color:hover {
    transform: scale(1.1);
}

.lgc-text-color.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
}

/* Text input section styling */
#lgc-text-options {
    padding: 15px;
}

#lgc-text-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.lgc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.lgc-header h2 {
    color: #ff69b4;
    font-size: 32px;
    margin: 0;
}

.lgc-price-display {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.lgc-main-container {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
}
/* Customizer Styles */
#lgc-customizer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.lgc-customizer-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

/* Canvas Panel */
.lgc-canvas-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lgc-canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.lgc-canvas-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.lgc-view-toggle {
    display: flex;
    gap: 10px;
}

.lgc-view-btn {
    padding: 8px 20px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}

.lgc-view-btn.active {
    background: #FF69B4;
    color: white;
    border-color: #FF69B4;
}

.lgc-canvas-area {
    text-align: center;
    margin: 20px 0;
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
}
#lgc-canvas {
    border: 1px solid #ddd;
    background: #f5f5f5 !important; /* Grey background on canvas only */
    border-radius: 4px;
    max-width: 100%;
    height: auto;
    display: block !important;
    margin: 0 auto !important;
}

.lgc-canvas-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* Options Panel */
.lgc-options-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 800px;
}

.lgc-step {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.lgc-step:last-of-type {
    border-bottom: none;
}

.lgc-step h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Color Grid */
.lgc-color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lgc-color-option {
    aspect-ratio: 1;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.lgc-color-option:hover {
    transform: scale(1.05);
}

.lgc-color-option.active {
    border-color: #333;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #333;
}

.lgc-color-name {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
    color: #666;
}

/* Decal Tabs */
.lgc-decal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.lgc-tab-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}

.lgc-tab-btn.active {
    background: #FF69B4;
    color: white;
    border-color: #FF69B4;
}

/* Decals Grid */
.lgc-decals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.lgc-decal-item {
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.lgc-decal-item:hover {
    border-color: #FF69B4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.lgc-decal-item img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Text Input */
#lgc-sleeve-text {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Buttons */
.lgc-btn-primary {
    background: #FF69B4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.lgc-btn-primary:hover {
    background: #FF1493;
    transform: translateY(-1px);
}

.lgc-btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #ddd;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.lgc-btn-secondary:hover {
    border-color: #999;
}

.lgc-btn-large {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* Pricing */
.lgc-pricing {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.lgc-pricing h3 {
    margin-top: 0;
    color: #333;
}



/* Placement Zone Styles */
/* Placement Zone Styles */
.lgc-placement-zone {
    position: absolute;
    border: 2px dashed rgba(255, 105, 180, 0.3);
    background: rgba(255, 105, 180, 0.05);
    pointer-events: none;
    border-radius: 4px;
    z-index: 10;
    transition: all 0.2s ease-in-out;
    animation: fadeIn 0.2s ease-in-out;
}

.lgc-placement-zone.active {
    border-color: rgba(255, 105, 180, 0.6);
    background: rgba(255, 105, 180, 0.1);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}




/* Category Image Wrapper - For Real Images */
.lgc-category-image-wrapper {
    height: 550px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
}

.lgc-category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: top center; /* Shows top of image */
    transition: transform 0.3s ease;
}

.lgc-category-box:hover .lgc-category-image-wrapper img {
    transform: scale(1.05);
}

/* Keep old colored boxes for categories without images */
.lgc-category-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}








.lgc-price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.lgc-price-line.lgc-total {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

/* Info text */
.lgc-info {
    background: #e3f2fd;
    padding: 10px 15px;
    border-radius: 6px;
    color: #1976d2;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .lgc-customizer-container {
        grid-template-columns: 1fr;
    }
    
    .lgc-options-panel {
        max-height: none;
    }
}
/* Controls Panel */
.lgc-controls-panel {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.lgc-step {
    margin-bottom: 30px;
}

.lgc-step h3 {
    color: #ff69b4;
    font-size: 18px;
    margin-bottom: 15px;
}

/* View Selector */
.lgc-view-selector {
    display: flex;
    gap: 10px;
}

.lgc-view-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.lgc-view-btn:hover {
    border-color: #ff69b4;
}

.lgc-view-btn.active {
    border-color: #ff69b4;
    background: #ffe0ec;
}

/* Color Options */
.lgc-color-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.lgc-color-option {
    width: 50px;
    height: 50px;
    border: 3px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.lgc-color-option:hover {
    transform: scale(1.1);
}

.lgc-color-option.active {
    border-color: #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Decal Grid */
.lgc-decal-categories {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.lgc-cat-btn {
    padding: 5px 15px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.lgc-cat-btn:hover {
    background: #f0f0f0;
}

.lgc-cat-btn.active {
    background: #ff69b4;
    color: #fff;
    border-color: #ff69b4;
}

.lgc-decal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.lgc-decal-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.lgc-decal-item:hover {
    border-color: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lgc-decal-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.lgc-decal-item span {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.lgc-decal-size {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff69b4;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Text Controls */
.lgc-text-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lgc-text-controls input,
.lgc-text-controls select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#lgc-add-text-btn {
    background: #ff69b4;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#lgc-add-text-btn:hover {
    background: #ff1493;
}

/* Decal Counter */
.lgc-decal-counter {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.lgc-decal-counter h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.lgc-decal-counter p {
    margin: 5px 0;
    font-size: 14px;
}

.lgc-canvas-area {
    text-align: center;
    margin: 20px 0;
    position: relative;
    background: transparent; /* Changed from #f5f5f5 */
    border-radius: 8px;
    padding: 20px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.lgc-canvas-wrapper {
    position: relative;
    margin-bottom: 15px;
}

#lgc-canvas {
    border: 1px solid #ddd;
    display: block;
    margin: 0 auto;
}

.lgc-canvas-controls {
    text-align: center;
}

.lgc-canvas-controls button {
    margin: 0 5px;
}

/* Actions Panel */
.lgc-actions-panel {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.lgc-actions-panel h3 {
    color: #ff69b4;
    margin-bottom: 15px;
}

#lgc-design-summary {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    min-height: 100px;
}

.lgc-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Add these styles to your existing frontend.css file */

/* Category Selection Page */
.lgc-category-page {
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: 80vh;
}

.lgc-container {
    max-width: 1200px;
    margin: 0 auto;
}

.lgc-page-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 300;
}

.lgc-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.lgc-category-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.lgc-category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.lgc-category-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lgc-temp-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.lgc-category-box h3 {
    margin: 20px 0 10px;
    color: #333;
    font-size: 22px;
}

.lgc-category-box p {
    color: #666;
    margin: 0 0 20px;
    font-size: 16px;
}


/* Gems Progress Bar */
.lgc-gems-progress-container {
    position: relative;
    margin: 10px 0;
}

.lgc-gems-progress-bar {
    width: 100%;
    height: 30px;
    background: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
/* Text Style Tabs */
.lgc-text-style-tabs {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.lgc-text-tab {
    flex: 1;
    padding: 8px;
    border: 2px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.lgc-text-tab.active {
    background: #ff69b4;
    color: white;
    border-color: #ff1493;
}

/* Text Color Selector */
.lgc-text-colors {
    margin: 15px 0;
}

.lgc-text-color-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    justify-content: center;
}

.lgc-text-color {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #ddd;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s;
}

.lgc-text-color span {
    display: block;
    width: 100%;
    height: 100%;
}

.lgc-text-color.active {
    border-color: #ff1493;
    transform: scale(1.2);
}

.lgc-text-color:hover {
    transform: scale(1.1);
}

/* Glitter effect */
.lgc-text-color.glitter span {
    position: relative;
}

/* Remove the emoji after content and add real glitter */
.lgc-text-color.glitter span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, white 1px, transparent 1px),
        radial-gradient(circle at 60% 60%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, white 1px, transparent 1px);
    background-size: 50% 50%;
    animation: sparkle 3s linear infinite;
    mix-blend-mode: screen;
}
.lgc-gems-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff1493 0%, #ff69b4 100%); /* Hot pink gradient */
    transition: width 0.3s ease;
    position: relative;
    width: 0%;
}

.lgc-gem-icon {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
    100% { background-position: 100% 100%, -100% 100%, 100% -100%, -100% -100%; }
}
.lgc-gems-count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #333;
}
/* Modal Styles */
.lgc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.lgc-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.lgc-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.lgc-close:hover {
    color: #333;
}

#lgc-modal-title {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.lgc-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.lgc-subcategory-box {
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.lgc-subcategory-box:hover {
    border-color: #ddd;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.lgc-subcategory-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 10px;
}

.lgc-subcategory-box h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .lgc-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .lgc-subcategory-grid {
        grid-template-columns: 1fr;
    }
}

.lgc-action-buttons button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

#lgc-preview-result {
    margin-top: 20px;
    text-align: center;
}



#lgc-preview-img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}
/* Customize button on product page */
.lgc-customize-button-wrapper {
    margin: 20px 0;
}

.lgc-customize-button {
    background-color: #FF69B4 !important;
    color: white !important;
    font-size: 18px !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
}

.lgc-customize-button:hover {
    background-color: #FF1493 !important;
    color: white !important;
}
/* WooCommerce Integration */
.lgc-customize-btn {
    background: #ff69b4 !important;
    color: #fff !important;
    margin-top: 10px;
}

.lgc-customize-btn:hover {
    background: #ff1493 !important;
}

/* Garment Selector Panel */
.lgc-garment-selector {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 250px;
}

.lgc-garment-selector h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

.lgc-garment-types {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lgc-garment-type-btn {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: white;
}

.lgc-garment-type-btn:hover:not(.disabled) {
    border-color: #FF69B4;
    background: #ffe0ec;
}

.lgc-garment-type-btn.active {
    border-color: #FF69B4;
    background: #FF69B4;
    color: white;
}

.lgc-garment-type-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lgc-garment-type-btn small {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

/* Update container grid to include garment selector */
.lgc-customizer-container {
    display: grid;
    grid-template-columns: 250px 1fr 400px;
    gap: 30px;
}

/* Color grid with images */
.lgc-color-option {
    position: relative;
    overflow: hidden;
}

.lgc-color-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1200px) {
    .lgc-main-container {
        grid-template-columns: 250px 1fr 250px;
    }
}

/* Shop Page Layout - Leveret Style */
.lgc-shop-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Filter Sidebar */
.lgc-filter-sidebar {
    width: 250px;
    flex-shrink: 0;
    padding-top: 20px; /* Reduce top padding */
}

.lgc-filter-sidebar h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-top: 20px; /* Reduced from 30px */
    text-transform: uppercase;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.lgc-filter-sidebar h3:first-child {
    margin-top: 0; /* Remove top margin from first heading */
}

.lgc-filter-section {
    margin-bottom: 20px;
}

.lgc-filter-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.lgc-filter-section label:hover {
    color: #ff69b4; /* Pink hover effect */
}

.lgc-filter-section input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #ff69b4; /* Pink checkboxes */
}

.lgc-filter-section input[type="checkbox"]:checked + label {
    color: #ff69b4;
}

/* Main Content */
.lgc-shop-main {
    flex: 1;
}

/* Products Grid */
.lgc-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
    gap: 30px;
}

/* Product Card */
.lgc-product-card {
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

.lgc-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.lgc-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.lgc-badge {
    display: block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    position: relative;
}

.lgc-badge-trending {
    background: #4a90e2;
    color: white;
}

.lgc-badge-bestseller {
    background: #ff69b4; /* Changed to pink */
    color: white;
}

.lgc-badge::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 100%;
    border-left: 10px solid;
    border-left-color: inherit;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.lgc-product-link {
    text-decoration: none;
    display: block;
}

.lgc-product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.lgc-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lgc-product-info {
    padding: 20px 10px;
    text-align: center;
}

.lgc-product-color {
    font-size: 12px;
    color: #777;
    margin: 0;
    letter-spacing: 1px;
}

.lgc-product-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 8px 0;
    letter-spacing: 0.5px;
}


.lgc-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff69b4;
    margin: 10px 0 0 0;
    font-family: 'Arial', sans-serif;
}
.lgc-price-current {
    color: #333;
    font-weight: 700;
}

/* Pink accent for buttons */
.lgc-customize-btn {
    background: #ff69b4 !important;
    color: white !important;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
}

.lgc-customize-btn:hover {
    background: #ff1493 !important;
}

/* Override old shop styles */
.lgc-gymnastics-shop,
.lgc-garment-section,
.lgc-color-grid,
.lgc-loading {
    display: none;
}

.lgc-shop-container ~ .widget-area .widget_search,
.sidebar .widget_search {
    display: none !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .lgc-products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .lgc-shop-container {
        flex-direction: column;
    }
    
    .lgc-filter-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .lgc-products-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}
/* Hide sidebar on shop page */
body.page-id-43039 .sidebar,
body.page-id-43039 aside.widget-area,
body.page-id-43039 .widget-area,
body.page-id-43039 #secondary {
    display: none !important;
}

/* Make the content full width when sidebar is hidden */
body.page-id-43039 .content-area,
body.page-id-43039 #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove header padding/margin on shop page */
body.page-id-43039 .site-header {
    margin-bottom: 0 !important;
}

body.page-id-43039 .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-43039 .entry-header,
body.page-id-43039 article.page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make shop container full width */
body.page-id-43039 .lgc-shop-container {
    max-width: 100% !important;
    padding: 20px 40px !important;
}

/* Make product images bigger */
body.page-id-43039 .lgc-product-image {
    height: 450px !important; /* Increased from 350px */
}

body.page-id-43039 .lgc-product-image img {
    max-width: 90%; /* Slightly smaller than container for better look */
    max-height: 90%;
}

/* Adjust grid for larger images */
body.page-id-43039 .lgc-products-grid {
    gap: 40px; /* More space between items */
}
/* Force remove all padding/margins from header to content */
body.page-id-43039 .site-header {
    margin-bottom: 0 !important;
}

body.page-id-43039 .site-inner,
body.page-id-43039 .site-content,
body.page-id-43039 .content-area,
body.page-id-43039 main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-43039 .entry-header,
body.page-id-43039 .page-header,
body.page-id-43039 article.page,
body.page-id-43039 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove the pink banner if it exists */
body.page-id-43039 .announcement-bar,
body.page-id-43039 .top-banner {
    display: none !important;
}

/* Make shop truly full width */
body.page-id-43039 .lgc-shop-container {
    max-width: calc(100vw - 80px) !important; /* Full width minus some padding */
    margin: 0 auto !important;
    padding: 20px 40px !important;
}

/* Bigger product images and better grid spacing */
body.page-id-43039 .lgc-product-image {
    height: 500px !important; /* Even bigger */
}

body.page-id-43039 .lgc-product-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* Better grid spacing for bigger images */
body.page-id-43039 .lgc-products-grid {
    gap: 50px 40px; /* vertical and horizontal gap */
    padding: 0 20px;
}

/* If your theme wraps content, override it */
body.page-id-43039 .wrap,
body.page-id-43039 .container {
    max-width: 100% !important;
    width: 100% !important;
}

/* Keep the sidebar but make everything edge-to-edge */
body.page-id-43039 .lgc-shop-container {
    display: flex !important;
    gap: 30px !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 20px 30px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Keep filter sidebar as is */
body.page-id-43039 .lgc-filter-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    padding-top: 20px !important;
}

/* Main content takes remaining space */
body.page-id-43039 .lgc-shop-main {
    flex: 1 !important;
    width: calc(100% - 280px) !important; /* Full width minus sidebar and gap */
}

/* Force exactly 3 columns */
body.page-id-43039 .lgc-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
}

/* No responsive changes - always 3 columns */
@media (min-width: 1400px) {
    body.page-id-43039 .lgc-products-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* Stay at 3 */
    }
}

@media (min-width: 1800px) {
    body.page-id-43039 .lgc-products-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* Stay at 3 */
    }
}

/* Make images bigger within the product boxes */
body.page-id-43039 .lgc-product-image {
    height: 500px !important;
}

body.page-id-43039 .lgc-product-image img {
    max-width: 95% !important; /* Bigger within the box */
    max-height: 95% !important;
    object-fit: contain;
}

/* Shift everything slightly left to prevent cutoff */
body.page-id-43039 .lgc-shop-container {
    padding: 20px 20px 20px 30px !important; /* Less padding on right */
}

/* Pink hover effect on product cards */
body.page-id-43039 .lgc-product-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

body.page-id-43039 .lgc-product-card:hover {
    border: 2px solid #ff69b4;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3); /* Pink shadow */
}

/* Pink hover on product images */
body.page-id-43039 .lgc-product-card:hover .lgc-product-image {
    background: #ffe0ec; /* Light pink background on hover */
}

/* Make the title pink on hover */
body.page-id-43039 .lgc-product-card:hover .lgc-product-title {
    color: #ff69b4;
}
/* Make product images MUCH bigger */
body.page-id-43039 .lgc-product-image {
    height: 500px !important;
    overflow: visible !important; /* Allow image to extend beyond container */
}

body.page-id-43039 .lgc-product-image img {
    max-width: 180% !important; /* Almost 2x bigger */
    max-height: 180% !important;
    object-fit: contain;
    transform: scale(1.2); /* Additional scaling */
}

/* Prevent right-side cutoff by adjusting the container */
body.page-id-43039 .lgc-shop-container {
    padding: 20px 60px 20px 30px !important; /* More padding on right */
    overflow-x: hidden !important; /* Hide any horizontal overflow */
}

/* Adjust grid spacing to accommodate larger images */
body.page-id-43039 .lgc-products-grid {
    gap: 50px 60px !important; /* More horizontal space between items */
}

/* Make sure cards don't overflow */
body.page-id-43039 .lgc-product-card {
    overflow: hidden !important;
}
/* Fix the right-side cutoff issue */
body.page-id-43039 .lgc-shop-container {
    padding: 20px 80px 20px 30px !important; /* Much more padding on right side */
    box-sizing: border-box !important;
}

/* Alternative approach - reduce the product grid width slightly */
body.page-id-43039 .lgc-products-grid {
    max-width: 95% !important; /* Prevent grid from going too far right */
    margin: 0 auto !important; /* Center it */
}

/* Make sure nothing overflows */
body.page-id-43039 .lgc-shop-main {
    overflow-x: hidden !important;
}

/* Optional - slightly reduce image size if still cutting off */
body.page-id-43039 .lgc-product-image img {
    max-width: 170% !important; /* Slightly smaller than 180% */
    max-height: 170% !important;
}
/* Final fix for the right-side cutoff */
body.page-id-43039 .lgc-shop-container {
    padding: 20px 100px 20px 30px !important; /* Even more padding on right - 100px */
}

/* Also reduce the grid width a bit more */
body.page-id-43039 .lgc-products-grid {
    max-width: 92% !important; /* Down from 95% */
}

/* Alternative - if still cutting off, reduce image size just a tiny bit more */
body.page-id-43039 .lgc-product-image img {
    max-width: 165% !important; /* Down from 170% */
    max-height: 165% !important;
}
/* FINAL SHOP PAGE CUTOFF FIX */
body.page-id-43039 .lgc-shop-container {
    padding-right: 200px !important; /* Massive right padding */
}

body.page-id-43039 .lgc-products-grid {
    max-width: 90% !important; /* Shrink grid width */
}

body.page-id-43039 .lgc-product-image img {
    max-width: 150% !important; /* Reduce image size */
    max-height: 150% !important;
}
@media (max-width: 968px) {
    .lgc-main-container {
        grid-template-columns: 1fr;
    }
    
    .lgc-controls-panel,
    .lgc-actions-panel {
        order: 2;
    }
    
    .lgc-canvas-area {
        order: 1;
    }
}
/* CUSTOMIZER LAYOUT FIX */
/* Fix the overlapping dress image */
.lgc-canvas-panel {
    position: relative;
    z-index: 1;
}

.lgc-canvas-area {
    max-width: 100%;
    overflow: hidden;
}

#lgc-canvas {
    max-width: 100% !important;
    height: auto !important;
}

/* Fix the options panel positioning */
.lgc-options-panel {
    position: relative;
    z-index: 10;
    background: white !important;
}

/* Make sure color selector is visible */
.lgc-step {
    position: relative;
    z-index: 20;
}

/* Fix the customizer grid */
.lgc-customizer-container {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 30px !important;
}

/* Ensure canvas doesn't overflow */
.lgc-canvas-wrapper {
    max-width: 100%;
    overflow: hidden;
}

/* Fix color selector visibility */
#lgc-color-options {
    display: block !important;
    min-height: 100px !important;
}

.lgc-color-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}

/* SHOP2 PAGE IMPROVEMENTS */
/* Make product boxes more compact and images bigger */
body.page-id-43039 .lgc-product-card {
    max-height: 600px; /* Limit box height */
}

body.page-id-43039 .lgc-product-image {
    height: 400px !important; /* Shorter box */
}

body.page-id-43039 .lgc-product-image img {
    max-width: 160% !important; /* Even bigger images */
    max-height: 160% !important;
    transform: scale(1.1); /* More zoom */
}

/* Compact the product info section */
body.page-id-43039 .lgc-product-info {
    padding: 15px 10px !important; /* Less padding */
}

body.page-id-43039 .lgc-product-title {
    margin: 5px 0 !important; /* Less margin */
}

/* Hide size filter section */
body.page-id-43039 .lgc-filter-section:has(h3:contains("SIZE")) {
    display: none !important;
}

/* Alternative if above doesn't work */
body.page-id-43039 .lgc-filter-sidebar h3:nth-of-type(3),
body.page-id-43039 .lgc-filter-sidebar h3:nth-of-type(3) + .lgc-filter-section {
    display: none !important;
}

/* Make filter sidebar sticky */
body.page-id-43039 .lgc-filter-sidebar {
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
}

/* Complete fix for white arc - mask approach */
.lgc-color-option {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: relative !important;
    border: 2px solid #e0e0e0 !important;
    /* Add dark background to mask any white */
    background-color: #333 !important;
    -webkit-mask-image: radial-gradient(circle, black 100%, transparent 100%) !important;
    mask-image: radial-gradient(circle, black 100%, transparent 100%) !important;
}

.lgc-color-option.active {
    border: 3px solid #000 !important;
}

.lgc-color-option img {
    width: 700% !important;  /* Increase even more */
    height: 700% !important;
    object-fit: cover !important;
    object-position: center 35% !important; /* Adjust position */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1.05) !important; /* Slight scale to cover edges */
    max-width: none !important;
    z-index: 2 !important;
    border-radius: 50% !important; /* Make image circular too */
}

/* Override any inherited styles */
#lgc-color-grid .lgc-color-option,
.lgc-color-grid .lgc-color-option {
    background-image: none !important;
    box-shadow: none !important;
}

.lgc-color-option::before,
.lgc-color-option::after {
    display: none !important;
}

.lgc-color-name {
    display: none !important; /* Hide color names completely for now */
}

/* Custom Fonts for Text */
@font-face {
    font-family: 'Mermaid Babies';
    src: url('./fonts/MermaidBabies.ttf') format('truetype');
}

@font-face {
    font-family: 'My First Crush';
    src: url('./fonts/MyFirstCrush-2r6K.ttf') format('truetype');
}

@font-face {
    font-family: 'Kingsman';
    src: url('./fonts/KingsmanDemo-1GVgg.ttf') format('truetype');
}

@font-face {
    font-family: 'Feel Free';
    src: url('./fonts/FeelfreePersonalUseRegular-lg2Bw.ttf') format('truetype');
}

@font-face {
    font-family: 'Swiftie';
    src: url('./fonts/Satisfaction.ttf') format('truetype');
}

@font-face {
    font-family: 'Scholarly';
    src: url('./fonts/ScholarlyAmbitionDEMO.ttf') format('truetype');
}

@font-face {
    font-family: 'Mouldy Cheese';
    src: url('./fonts/MouldyCheeseRegular-WyMWG.ttf') format('truetype');
}

@font-face {
    font-family: 'Rumble Sport';
    src: url('./fonts/RumblesportathleticcapsBold-ZxDJ.otf') format('opentype');
}

@font-face {
    font-family: 'Baseball Club';
    src: url('./fonts/BaseballClubSolid-E4X69.ttf') format('truetype');
}

@font-face {
    font-family: 'Odin Rounded';
    src: url('./fonts/OdinRounded-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Please Write';
    src: url('./fonts/PleaseWriteMeASong-70vV.ttf') format('truetype');
}

@font-face {
    font-family: 'Akachen';
    src: url('./fonts/Akachen-L3q5.ttf') format('truetype');
}

@font-face {
    font-family: 'Super Dream';
    src: url('./fonts/SuperDream-ax3vE.ttf') format('truetype');
}

@font-face {
    font-family: 'Sansumi';
    src: url('./fonts/Sansumi-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Couture';
    src: url('./fonts/couture-bld.otf') format('opentype');
}

@font-face {
    font-family: 'Singo';
    src: url('./fonts/Singo-eZnze.ttf') format('truetype');
}

@font-face {
    font-family: 'Hunters K-Pop';
    src: url('./fonts/Hunters_K-Pop.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}



#lgc-font-select {
    font-size: 16px !important;
    min-height: 45px !important;
}

#lgc-font-select option {
    padding: 10px !important;
    font-size: 18px !important;
}

/* Glitter Text Color Selector - Real Textures */
.lgc-text-color {
    display: inline-block;
    width: 45px;
    height: 45px;
    border: 3px solid #ddd;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s;
    margin: 0 4px;
}

.lgc-text-color.glitter {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Remove the old animation */
.lgc-text-color.glitter span::after {
    display: none;
}

/* New subtle shine effect */
.lgc-text-color.glitter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.lgc-text-color.glitter:hover::before {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateY(100%);
        opacity: 0;
    }
}

.lgc-text-color.active {
    border-color: #ff1493;
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4);
}

.lgc-text-color:hover {
    transform: scale(1.1);
    border-color: #ff69b4;
}

/* Glitter text effect using background clip */
.canvas-container .upper-canvas {
    mix-blend-mode: normal !important;
}

/* Apply glitter texture to text via a wrapper class */
.glitter-text-effect {
    background-size: 100px 100px !important;
    background-repeat: repeat !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    /* text-fill-color is not a standard CSS property - removed */
}
/* SHOP3 PAGE STYLES (Unisex - Page ID: 43109) */
/* Copy all shop2 styles but with shop3's page ID */

/* Hide sidebar */
body.page-id-43109 .sidebar,
body.page-id-43109 aside.widget-area,
body.page-id-43109 .widget-area,
body.page-id-43109 #secondary {
    display: none !important;
}

/* Full width content */
body.page-id-43109 .content-area,
body.page-id-43109 #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove header spacing */
body.page-id-43109 .site-header {
    margin-bottom: 0 !important;
}

body.page-id-43109 .site-inner,
body.page-id-43109 .site-content,
body.page-id-43109 .content-area,
body.page-id-43109 main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-43109 .entry-header,
body.page-id-43109 .page-header,
body.page-id-43109 article.page,
body.page-id-43109 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Full width shop container */
body.page-id-43109 .lgc-shop-container {
    display: flex !important;
    gap: 30px !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 20px 30px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Filter sidebar */
body.page-id-43109 .lgc-filter-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    padding-top: 20px !important;
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
}

/* Main content */
body.page-id-43109 .lgc-shop-main {
    flex: 1 !important;
    width: calc(100% - 280px) !important;
    overflow-x: hidden !important;
}

/* Products grid */
body.page-id-43109 .lgc-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 50px 40px !important;
    padding: 0 20px;
    max-width: 90% !important;
    margin: 0 auto !important;
}

/* Product images */
body.page-id-43109 .lgc-product-image {
    height: 400px !important;
}

body.page-id-43109 .lgc-product-image img {
    max-width: 160% !important;
    max-height: 160% !important;
    transform: scale(1.1);
}

/* Product cards */
body.page-id-43109 .lgc-product-card {
    max-height: 600px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden !important;
}

body.page-id-43109 .lgc-product-card:hover {
    border: 2px solid #ff69b4;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
}

body.page-id-43109 .lgc-product-card:hover .lgc-product-image {
    background: #ffe0ec;
}

body.page-id-43109 .lgc-product-card:hover .lgc-product-title {
    color: #ff69b4;
}

/* Product info */
body.page-id-43109 .lgc-product-info {
    padding: 15px 10px !important;
}

body.page-id-43109 .lgc-product-title {
    margin: 5px 0 !important;
}

/* Hide size filter for shop3 */
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(2),
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(2) + .lgc-filter-section,
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(3),
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(3) + .lgc-filter-section {
    display: none !important;
}

/* Container padding to prevent cutoff */
body.page-id-43109 .lgc-shop-container {
    padding-right: 200px !important;
}

/* Theme overrides */
body.page-id-43109 .wrap,
body.page-id-43109 .container {
    max-width: 100% !important;
    width: 100% !important;
}

/* SHOP3 UNISEX IMAGE SIZE REDUCTION - Page ID 43109 */
body.page-id-43109 .lgc-product-image {
    height: 350px !important;  /* Reduced from 400px */
}

body.page-id-43109 .lgc-product-image img {
    max-width: 100% !important;  /* Reduced from 160% */
    max-height: 100% !important;  /* Reduced from 160% */
    transform: scale(0.9);  /* Reduced from 1.1 */
}

/* Adjust container padding since images are smaller */
body.page-id-43109 .lgc-shop-container {
    padding-right: 30px !important;  /* Reduced from 200px */
}

body.page-id-43109 .lgc-products-grid {
    max-width: 100% !important;  /* Full width since images are smaller */
}

/* SHOP3 PAGE STYLES (Unisex - Page ID: 43109) */
/* Copy all shop2 styles but adjusted for shop3 */

/* Hide sidebar */
body.page-id-43109 .sidebar,
body.page-id-43109 aside.widget-area,
body.page-id-43109 .widget-area,
body.page-id-43109 #secondary {
    display: none !important;
}

/* Full width content */
body.page-id-43109 .content-area,
body.page-id-43109 #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove header spacing */
body.page-id-43109 .site-header {
    margin-bottom: 0 !important;
}

body.page-id-43109 .site-inner,
body.page-id-43109 .site-content,
body.page-id-43109 .content-area,
body.page-id-43109 main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-43109 .entry-header,
body.page-id-43109 .page-header,
body.page-id-43109 article.page,
body.page-id-43109 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Full width shop container - SAME AS SHOP2 */
body.page-id-43109 .lgc-shop-container {
    display: flex !important;
    gap: 30px !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 20px 200px 20px 30px !important;  /* Same 200px right padding as shop2 */
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Filter sidebar */
body.page-id-43109 .lgc-filter-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    padding-top: 20px !important;
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
}

/* Main content */
body.page-id-43109 .lgc-shop-main {
    flex: 1 !important;
    width: calc(100% - 280px) !important;
    overflow-x: hidden !important;
}

/* Products grid - SAME AS SHOP2 */
body.page-id-43109 .lgc-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 50px 40px !important;
    padding: 0 20px;
    max-width: 90% !important;  /* Same as shop2 */
    margin: 0 auto !important;
}

/* Product images - NORMAL SIZE FOR UNISEX */
body.page-id-43109 .lgc-product-image {
    height: 400px !important;  /* Same container height as shop2 */
}

body.page-id-43109 .lgc-product-image img {
    max-width: 100% !important;  /* Normal size for unisex */
    max-height: 100% !important;
    transform: scale(1.0);  /* No extra scaling */
    object-fit: contain;
}

/* Product cards */
body.page-id-43109 .lgc-product-card {
    max-height: 600px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden !important;
}

body.page-id-43109 .lgc-product-card:hover {
    border: 2px solid #ff69b4;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
}

body.page-id-43109 .lgc-product-card:hover .lgc-product-image {
    background: #ffe0ec;
}

body.page-id-43109 .lgc-product-card:hover .lgc-product-title {
    color: #ff69b4;
}

/* Product info */
body.page-id-43109 .lgc-product-info {
    padding: 15px 10px !important;
}

body.page-id-43109 .lgc-product-title {
    margin: 5px 0 !important;
}

/* Hide style and size filters for shop3 */
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(2),
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(2) + .lgc-filter-section,
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(3),
body.page-id-43109 .lgc-filter-sidebar h3:nth-of-type(3) + .lgc-filter-section {
    display: none !important;
}

/* Theme overrides */
body.page-id-43109 .wrap,
body.page-id-43109 .container {
    max-width: 100% !important;
    width: 100% !important;
}
/* Password Card Styles - Matches Decal Cards */
.lgc-password-card {
    background: #fff5f9 !important;
    border: 2px dashed #ff69b4 !important;
    cursor: default !important;
}

.lgc-password-card:hover {
    transform: none !important;
    box-shadow: 0 2px 5px rgba(255, 105, 180, 0.3) !important;
}

.password-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
}

.password-icon {
    font-size: 30px;
    margin-bottom: 5px;
}

.lgc-password-input {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Special/Restricted Decals */
.lgc-decal-item.restricted {
    border: 2px solid gold !important;
    background: linear-gradient(135deg, #fff 0%, #fffacd 100%) !important;
}

.lgc-gems-badge.special {
    background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
    color: #333 !important;
    font-weight: bold !important;
}

/* Load More Button */
.lgc-load-more-btn:hover {
    background: #ff1493 !important;
    transform: scale(1.05);
}

/* Make password card match regular decal cards exactly */
.lgc-password-card {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 10px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: default !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.lgc-password-card:hover {
    border-color: #ff69b4 !important;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.2) !important;
    transform: none !important;
}

/* Style restricted decals without gold border */
.lgc-decal-item.restricted {
    border: 1px solid #e0e0e0 !important;
    background: white !important;
}

.lgc-decal-item.restricted:hover {
    border-color: #ff69b4 !important;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.3) !important;
}

/* Ensure consistent card sizing */


.lgc-decal-item img {
    width: 100% !important;
    height: 75% !important;
    object-fit: contain !important;
}

.lgc-decal-item span {
    height: 20% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 12px !important;
}

.lgc-decal-item.restricted {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}

/* Fix the gems badge positioning */
.lgc-gems-badge {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    z-index: 10 !important;
}

/* Make restricted decal images bigger in the card */
.lgc-decal-item.restricted img {
    transform: scale(1.5) !important; /* 1.5x bigger in card */
    max-width: 100% !important;
    max-height: 75% !important;
}

/* Make restricted decal images smaller in the card */
.lgc-decal-item.restricted img {
    transform: scale(1.125) !important; /* Reduced from 1.5 to 1.125 (25% smaller) */
    max-width: 100% !important;
    max-height: 75% !important;
}

/* Category Filter Tabs */
.lgc-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.lgc-category-tab {
    padding: 8px 12px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    outline: none;
}

.lgc-category-tab:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.lgc-category-tab.active {
    background: #ff69b4;
    color: white;
    border-color: #ff1493;
    font-weight: 600;
}

.lgc-category-tab.active:hover {
    background: #ff1493;
}

/* Category Filter Tabs - LARGER VERSION */
.lgc-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;  /* Increased from 8px */
    margin: 20px 0;  /* Increased from 15px */
    padding: 15px 0;  /* Increased from 10px */
    border-bottom: 2px solid #eee;  /* Thicker border */
}

.lgc-category-tab {
    padding: 12px 18px;  /* Increased from 8px 12px */
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;  /* More rounded */
    font-size: 15px;  /* Increased from 13px */
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;  /* Increased from 5px */
    outline: none;
    font-weight: 500;  /* Slightly bolder */
}

.lgc-category-tab:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);  /* Added shadow on hover */
}

.lgc-category-tab.active {
    background: #ff69b4;
    color: white;
    border-color: #ff1493;
    font-weight: 700;  /* Bolder when active */
    box-shadow: 0 4px 12px rgba(255,105,180,0.3);  /* Pink shadow */
}

.lgc-category-tab.active:hover {
    background: #ff1493;
    transform: translateY(-3px);  /* More lift on hover */
}

/* Make emoji icons larger in category tabs */
.lgc-category-tab {
    padding: 12px 18px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
    font-weight: 500;
}

/* Target emojis specifically and make them larger */
.lgc-category-tab::before {
    content: attr(data-emoji);
    font-size: 22px;  /* Make emoji much larger */
    margin-right: 4px;
}

/* Category Dropdown Styling */
.lgc-category-dropdown-wrapper {
    margin: 20px 0;
}

.lgc-category-dropdown {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
}

.lgc-category-dropdown:hover {
    border-color: #ff69b4;
}

.lgc-category-dropdown:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.2);
}

/* Make option text larger */
.lgc-category-dropdown option {
    font-size: 16px;
    padding: 10px;
}
/* Hide common WooCommerce/Elementor badges/ribbons */
.products li.product .onsale,
.wc-block-grid__product .wc-block-components-product-badge,
.product .badge, .product .ribbon, .product .product-label,
.elementor-widget-woocommerce-products .onsale,
.commercekit-badge,
.product .badge::before, .product .badge::after,
.product .ribbon::before, .product .ribbon::after {
  display: none !important;
  content: '' !important; /* covers pseudo-elements with text like 'TRENDING' */
}

/* Explicitly hide plugin-specific badges/ribbons on product cards */
.lgc-product-badges,
.lgc-product-card .lgc-badge,
.lgc-product-card .lgc-badge-trending,
.lgc-product-card .lgc-badge-bestseller,
.lgc-badge,
.lgc-badge-trending,
.lgc-badge-bestseller,
.lgc-badge::after {
    display: none !important;
}

/* WorkAtmo credit tag (bottom-right) */
.workatmo-tag {
    position: fixed;
    right: 12px;
    bottom: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1;
    z-index: 9999;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.workatmo-tag:hover { opacity: 1; }
.workatmo-tag a { color: #fff; text-decoration: none; }

/* MOBILE RESPONSIVE - SHOP PAGE */
@media (max-width: 768px) {
    /* Stack layout vertically on mobile */
    body.page-id-43039 .lgc-shop-container {
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    /* Make filter sidebar full width on mobile */
    body.page-id-43039 .lgc-filter-sidebar {
        width: 100% !important;
        margin-bottom: 30px !important;
        position: static !important;
        max-height: none !important;
    }
    
    /* Make main content full width */
    body.page-id-43039 .lgc-shop-main {
        width: 100% !important;
    }
    
    /* Single column grid on mobile */
    body.page-id-43039 .lgc-products-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 !important;
    }
    
    /* Adjust product image size for mobile */
    body.page-id-43039 .lgc-product-image {
        height: 350px !important;
    }
    
    body.page-id-43039 .lgc-product-image img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

/* Tablet responsive (optional) */
@media (min-width: 769px) and (max-width: 1024px) {
    body.page-id-43039 .lgc-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* MOBILE RESPONSIVE - UNISEX SHOP (SHOP3 - PAGE 43109) */
@media (max-width: 768px) {
    /* Stack layout vertically on mobile */
    body.page-id-43109 .lgc-shop-container {
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    /* Make filter sidebar full width on mobile */
    body.page-id-43109 .lgc-filter-sidebar {
        width: 100% !important;
        margin-bottom: 30px !important;
        position: static !important;
        max-height: none !important;
    }
    
    /* Make main content full width */
    body.page-id-43109 .lgc-shop-main {
        width: 100% !important;
    }
    
    /* Single column grid on mobile */
    body.page-id-43109 .lgc-products-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    /* Adjust product image size for mobile */
    body.page-id-43109 .lgc-product-image {
        height: 350px !important;
    }
    
    body.page-id-43109 .lgc-product-image img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    /* Adjust product card padding */
    body.page-id-43109 .lgc-product-info {
        padding: 15px !important;
    }
}

/* Tablet responsive for unisex shop */
@media (min-width: 769px) and (max-width: 1024px) {
    body.page-id-43109 .lgc-shop-container {
        padding: 20px !important;
    }
    
    body.page-id-43109 .lgc-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    body.page-id-43109 .lgc-product-image {
        height: 350px !important;
    }
}
/* ============================================
   CUSTOMIZER MOBILE RESPONSIVE - VERTICAL LAYOUT
   ============================================ */

@media (max-width: 768px) {
	
	.lgc-page-title {
        font-size: 24px !important;  /* Adjust size as needed */
    }
	
    /* Scale the canvas wrapper properly */
    .canvas-container {
        position: relative !important;
        margin: 0 auto !important;
        width: 300px !important;
        height: 400px !important;
    }
	
	/* Clickable scroll instruction */
	.lgc-canvas-panel::before {
		content: "Scroll Down to Customize";
		display: block;
		text-align: center;
		padding: 12px 15px;
		background: linear-gradient(135deg, #ff69b4, #ff1493);
		color: white;
		font-weight: 600;
		font-size: 14px;
		border-radius: 8px;
		margin: 0 0 15px 0;
		box-shadow: 0 2px 8px rgba(255, 105, 180, 0.3);
		cursor: pointer;
		transition: all 0.3s;
	}

	.lgc-canvas-panel:active::before {
		transform: scale(0.98);
		box-shadow: 0 1px 4px rgba(255, 105, 180, 0.4);
	}
	
    /* Main wrapper - enable vertical scroll */
    #lgc-customizer-wrapper {
        padding: 10px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        height: auto !important;
        min-height: 100vh;
    }
    
    /* Stack everything vertically */
    .lgc-customizer-container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        height: auto !important;
    }
    
    /* ====== CANVAS PANEL ====== */
    .lgc-canvas-panel {
        order: 1;
        padding: 15px !important;
        width: 100% !important;
        overflow: visible !important;
        touch-action: pan-y !important;
        height: auto !important;
    }
    
    /* Center the title */
    .lgc-canvas-header {
        flex-direction: column;
        gap: 10px;
        text-align: center !important;
        align-items: center !important;
        margin-bottom: 10px !important;
    }
    
    .lgc-canvas-header h2 {
        font-size: 20px !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Center the canvas/clothing - REMOVE GAP */
    .lgc-canvas-area {
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
        overflow: visible !important;
        touch-action: pan-y !important;
        position: relative;
        height: auto !important;
    }
    
    /* Canvas wrapper */
    .lgc-canvas-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    /* Shrink canvas size for mobile */
    #lgc-canvas {
        max-width: 300px !important;
        max-height: 400px !important;
        width: 300px !important;
        height: 400px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* ====== FIX FABRIC.JS CONTROLS FOR MOBILE ====== */
    /* Scale fabric.js controls to match mobile canvas */
    .canvas-container {
        margin: 0 auto !important;
        display: block !important;
        position: relative !important;
    }
    
    /* Fix control corners positioning */
    .upper-canvas {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 300px !important;
        height: 400px !important;
    }
    
    /* Fabric.js control corners */
    canvas.upper-canvas {
        cursor: default !important;
    }
	/* Hide placement zones on mobile - they work but don't display correctly */
	.lgc-placement-zone,
	[class*="placement-zone"],
	.placement-zone-overlay {
		display: none !important;
		opacity: 0 !important;
		visibility: hidden !important;
	}

/* Hide any canvas rect overlays for placement zones */
.canvas-container rect[stroke="#ff69b4"],
canvas rect {
    display: none !important;
}
    /* View toggle buttons */
    .lgc-view-toggle {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
        margin: 10px 0 !important;
    }
    
    .lgc-view-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Canvas footer buttons - MINIMAL GAP */
    .lgc-canvas-footer {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 3px 0 0 0 !important;
        width: 100% !important;
    }
    
    .lgc-canvas-footer button,
    .lgc-canvas-footer .lgc-btn-primary {
        flex: 1 1 48% !important;
        min-width: 140px !important;
        max-width: 48% !important;
        padding: 12px 8px !important;
        font-size: 13px !important;
        white-space: normal !important;
        line-height: 1.3;
        margin: 0 !important;
    }
    
    /* ====== OPTIONS PANEL - VERTICAL STACK ====== */
    .lgc-options-panel {
        order: 2;
        max-height: none !important;
        overflow: visible !important;
        padding: 15px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-top: 15px !important;
    }
    
    /* ====== VERTICAL STEPS ====== */
    .lgc-step {
        flex: none !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        border-right: none !important;
        padding: 15px 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    .lgc-step:last-child {
        border-bottom: none !important;
    }
    
    .lgc-step h3 {
        font-size: 17px !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        color: #ff69b4;
        font-weight: 700;
    }
    
    /* ====== COLOR GRIDS ====== */
    .lgc-color-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        width: 100%;
    }
    
    .lgc-color-option {
        aspect-ratio: 1;
    }
    
    /* ====== DECAL GRIDS ====== */
    .lgc-decals-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        width: 100%;
    }
    
    .lgc-decal-item {
        min-height: 90px;
    }
    
    .lgc-decal-item img {
        max-width: 100%;
        max-height: 70px;
    }
    
    /* ====== TEXT CONTROLS ====== */
    .lgc-text-controls {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .lgc-text-controls input,
    .lgc-text-controls select,
    .lgc-text-controls textarea {
        font-size: 15px !important;
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box;
        border: 1px solid #ddd;
        border-radius: 6px;
    }
    
    #lgc-text-input {
        width: 100% !important;
        min-height: 45px;
    }
    
    /* Font selector */
    #lgc-font-select {
        width: 100% !important;
    }
    
    /* Text color swatches */
    .lgc-text-colors {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 8px;
    }
    
    .lgc-text-color-option {
        width: 100%;
        height: 45px;
        border-radius: 6px;
    }
    
    /* Glitter colors */
    .lgc-glitter-colors {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 8px;
    }
    
    /* ====== BUTTONS ====== */
    .lgc-btn-primary,
    #lgc-add-text-btn,
    .lgc-action-btn,
    .lgc-decal-load-more {
        padding: 12px 16px !important;
        font-size: 15px !important;
        width: 100% !important;
        box-sizing: border-box;
        white-space: normal !important;
        border-radius: 8px !important;
        font-weight: 600;
    }
    
    /* ====== ACTIONS PANEL - VERTICAL ====== */
    .lgc-actions-panel {
        order: 3 !important;
        flex: none !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box;
        margin-top: 10px !important;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .lgc-actions-panel h3 {
        font-size: 18px !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        color: #ff69b4;
        font-weight: 700;
    }
    
    /* Price summary - fully visible */
    #lgc-design-summary {
        min-height: auto !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        font-size: 14px;
        background: #f8f8f8;
        border-radius: 8px;
        width: 100% !important;
        box-sizing: border-box !important;
        border: 2px solid #ff69b4;
    }
    
    #lgc-design-summary h4 {
        margin: 0 0 12px 0 !important;
        font-size: 16px;
        color: #333;
        font-weight: 700;
    }
    
    #lgc-design-summary p {
        margin: 8px 0 !important;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        width: 100%;
        line-height: 1.5;
    }
    
    /* ====== ACTION BUTTONS ====== */
    .lgc-action-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .lgc-action-buttons button,
    .lgc-action-buttons .lgc-btn-primary {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        border: none !important;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    /* Add to Cart button */
    #lgc-add-to-cart-btn {
        background: linear-gradient(135deg, #ff69b4, #ff1493) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    }
    
    #lgc-add-to-cart-btn:active {
        transform: translateY(2px);
    }
    
    /* Other action buttons */
    .lgc-action-buttons button:not(#lgc-add-to-cart-btn) {
        background: white !important;
        color: #ff69b4 !important;
        border: 2px solid #ff69b4 !important;
    }
    
    /* ====== PRICE DISPLAY ====== */
    .lgc-price-display {
        font-size: 20px !important;
        font-weight: 700;
    }
    
    .lgc-price-line {
        display: flex;
        justify-content: space-between;
        margin: 8px 0;
        font-size: 14px;
        width: 100%;
    }
    
    #lgc-base-price,
    #lgc-extra-price,
    #lgc-total-price,
    #lgc-cart-price {
        font-weight: 700;
        color: #ff69b4;
    }
    
    /* Total price emphasis */
    .lgc-price-line.total {
        border-top: 2px solid #ff69b4;
        padding-top: 10px;
        margin-top: 10px;
        font-size: 16px;
        font-weight: 700;
    }
    
    /* ====== DECAL COUNTER / GEMS DISPLAY ====== */
    .lgc-decal-counter {
        padding: 12px !important;
        font-size: 14px !important;
        background: #f8f8f8;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .lgc-gems-display {
        font-size: 15px !important;
        margin-bottom: 8px;
    }
    
    .lgc-gems-bar {
        height: 10px;
        background: #e0e0e0;
        border-radius: 5px;
        overflow: hidden;
        margin-top: 8px;
    }
    
    .lgc-gems-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #ff69b4, #ff1493);
        transition: width 0.3s;
    }
    
    /* ====== TAB NAVIGATION ====== */
    .lgc-tabs {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        margin-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .lgc-tab {
        flex: 0 0 auto;
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
        border-radius: 6px;
    }
    
    /* ====== MODAL/POPUP FIXES ====== */
    .lgc-modal,
    .lgc-password-modal {
        width: 90% !important;
        max-width: 90% !important;
        padding: 20px !important;
    }
    
    /* ====== MISC ELEMENTS ====== */
    .lgc-loading-spinner {
        width: 30px;
        height: 30px;
    }
    
    /* Text position controls */
    .lgc-text-position-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .lgc-position-btn {
        padding: 12px !important;
        font-size: 13px !important;
    }
}

/* ====== SMALL PHONES (iPhone SE, etc.) ====== */
@media (max-width: 375px) {
    #lgc-canvas {
        max-width: 250px !important;
        max-height: 350px !important;
        width: 250px !important;
        height: 350px !important;
    }
    
    .upper-canvas {
        width: 250px !important;
        height: 350px !important;
    }
    
    .lgc-color-grid,
    .lgc-decals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .lgc-text-colors,
    .lgc-glitter-colors {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .lgc-canvas-header h2 {
        font-size: 18px !important;
    }
    
    .lgc-canvas-footer button {
        font-size: 12px !important;
        padding: 10px 6px !important;
    }
}

/* ====== TABLETS IN PORTRAIT ====== */
@media (min-width: 769px) and (max-width: 1024px) {
    .lgc-customizer-container {
        grid-template-columns: 1fr 350px !important;
        flex-direction: row !important;
    }
    
    #lgc-canvas {
        max-width: 400px;
    }
    
    .lgc-options-panel {
        max-height: 700px;
        overflow-y: auto;
    }
    
    .lgc-step {
        border-bottom: 1px solid #eee;
    }
}

/* ============================================
   SHOP4 PAGE STYLES (PJs - Page ID: 43888)
   ============================================ */

/* Hide sidebar */
body.page-id-43888 .sidebar,
body.page-id-43888 aside.widget-area,
body.page-id-43888 .widget-area,
body.page-id-43888 #secondary {
    display: none !important;
}

/* Full width content */
body.page-id-43888 .content-area,
body.page-id-43888 #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove header spacing */
body.page-id-43888 .site-header {
    margin-bottom: 0 !important;
}

body.page-id-43888 .site-inner,
body.page-id-43888 .site-content,
body.page-id-43888 .content-area,
body.page-id-43888 main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-43888 .entry-header,
body.page-id-43888 .page-header,
body.page-id-43888 article.page,
body.page-id-43888 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Full width shop container */
body.page-id-43888 .lgc-shop-container {
    display: flex !important;
    gap: 30px !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 20px 200px 20px 30px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Filter sidebar */
body.page-id-43888 .lgc-filter-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    padding-top: 20px !important;
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
}

/* Main content */
body.page-id-43888 .lgc-shop-main {
    flex: 1 !important;
    width: calc(100% - 280px) !important;
    overflow-x: hidden !important;
}

/* Products grid - 3 columns */
body.page-id-43888 .lgc-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 50px 40px !important;
    padding: 0 20px;
    max-width: 90% !important;
    margin: 0 auto !important;
}

/* Product images - normal size for PJs */
body.page-id-43888 .lgc-product-image {
    height: 400px !important;
}

body.page-id-43888 .lgc-product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    transform: scale(1.0);
    object-fit: contain;
}

/* Product cards */
body.page-id-43888 .lgc-product-card {
    max-height: 600px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden !important;
}

body.page-id-43888 .lgc-product-card:hover {
    border: 2px solid #ff69b4;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
}

body.page-id-43888 .lgc-product-card:hover .lgc-product-image {
    background: #ffe0ec;
}

body.page-id-43888 .lgc-product-card:hover .lgc-product-title {
    color: #ff69b4;
}

/* Product info */
body.page-id-43888 .lgc-product-info {
    padding: 15px 10px !important;
}

body.page-id-43888 .lgc-product-title {
    margin: 5px 0 !important;
}

/* Hide style and size filters for shop4 */
body.page-id-43888 .lgc-filter-sidebar h3:nth-of-type(2),
body.page-id-43888 .lgc-filter-sidebar h3:nth-of-type(2) + .lgc-filter-section,
body.page-id-43888 .lgc-filter-sidebar h3:nth-of-type(3),
body.page-id-43888 .lgc-filter-sidebar h3:nth-of-type(3) + .lgc-filter-section {
    display: none !important;
}

/* Theme overrides */
body.page-id-43888 .wrap,
body.page-id-43888 .container {
    max-width: 100% !important;
    width: 100% !important;
}

/* ============================================
   MOBILE RESPONSIVE - PJ SHOP (SHOP4)
   ============================================ */
@media (max-width: 768px) {
    /* Stack layout vertically on mobile */
    body.page-id-43888 .lgc-shop-container {
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    /* Make filter sidebar full width on mobile */
    body.page-id-43888 .lgc-filter-sidebar {
        width: 100% !important;
        margin-bottom: 30px !important;
        position: static !important;
        max-height: none !important;
    }
    
    /* Make main content full width */
    body.page-id-43888 .lgc-shop-main {
        width: 100% !important;
    }
    
    /* Single column grid on mobile */
    body.page-id-43888 .lgc-products-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    /* Adjust product image size for mobile */
    body.page-id-43888 .lgc-product-image {
        height: 350px !important;
    }
    
    body.page-id-43888 .lgc-product-image img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    /* Adjust product card padding */
    body.page-id-43888 .lgc-product-info {
        padding: 15px !important;
    }
}

/* Tablet responsive for PJ shop */
@media (min-width: 769px) and (max-width: 1024px) {
    body.page-id-43888 .lgc-shop-container {
        padding: 20px !important;
    }
    
    body.page-id-43888 .lgc-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    body.page-id-43888 .lgc-product-image {
        height: 350px !important;
    }
}

/* Mobile filter dropdowns */
@media (max-width: 768px) {
    .lgc-filter-mobile-dropdown,
    .lgc-filter-sidebar select {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        padding: 12px;
        margin: 10px 0 20px 0;
        font-size: 16px;
        border: 2px solid #ff69b4;
        border-radius: 8px;
        background: white;
        color: #333;
        font-family: inherit;
    }
    
    .lgc-filter-sidebar h3 {
        font-size: 14px;
        margin-bottom: 8px;
        margin-top: 15px;
        color: #ff69b4;
        font-weight: 600;
    }
    
    .lgc-filter-section {
        display: none !important;
    }
}

/* Size Selection Styles */
#step-size {
	margin-top: -40px !important;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.lgc-size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.lgc-size-box {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.lgc-size-box:hover {
    border-color: #ff69b4;
    background: #fff5f9;
}

.lgc-size-box.active {
    border-color: #ff69b4;
    background: #ff69b4;
    color: white;
}

.lgc-size-guide-btn {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin: 10px 0;
    font-size: 14px;
}

.lgc-size-guide-btn:hover {
    background: #357ABD;
}

.lgc-size-chart {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.lgc-size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 13px;
}

.lgc-size-table thead {
    background: #ff69b4;
    color: white;
}

.lgc-size-table th,
.lgc-size-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.lgc-size-table tbody tr:nth-child(even) {
    background: #fff5f9;
}

.lgc-size-note {
    font-style: italic;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

/* MOBILE RESPONSIVE - TOPS SHOP (SHOP7 - PAGE 44890) */
@media (max-width: 768px) {
    body.page-id-44890 .lgc-shop-container {
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    body.page-id-44890 .lgc-shop-main {
        width: 100% !important;
    }
    
    body.page-id-44890 .lgc-products-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 !important;
    }
    
    body.page-id-44890 .lgc-product-image {
        height: 350px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    body.page-id-44890 .lgc-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .lgc-category-image-wrapper {
        height: 450px !important;
    }
    
    .lgc-category-image-wrapper img {
        object-fit: cover;
		object-position: top center; /* Shows top on mobile too */
    }
}

/* Hide Recent Posts widget on Shop4 page */
body.page-id-43888 .elementor-widget-posts {
    display: none !important;
}

/* Alternative - hide entire sidebar if needed */
body.page-id-43888 .elementor-sidebar {
    display: none !important;
}

/* Or target by "Recent Posts" heading */
body.page-id-43888 h2:contains("Recent Posts"),
body.page-id-43888 .recent-posts-widget {
    display: none !important;
}

/* Hide filters completely on Unisex shop page */
body.page-id-43109 .lgc-filter-sidebar {
    display: none !important;
}

/* Make the main content area full width when filters are hidden */
body.page-id-43109 .lgc-shop-main {
    width: 100% !important;
    max-width: 100% !important;
}


/* ============================================
   🔥 FIREHOUSE INVENTORY - SOLD OUT STYLING
   ============================================ */

/* Sold Out Size Box */
.lgc-size-box.sold-out {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    color: #999 !important;
    pointer-events: none !important;
    position: relative;
}

/* Strikethrough for Sold Out */
.lgc-size-box.sold-out::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #f44336;
    transform: translateY(-50%) rotate(-10deg);
    z-index: 1;
}

/* Stock Level Labels */
.lgc-size-box small {
    display: block;
    font-size: 10px;
    margin-top: 3px;
    line-height: 1.2;
    font-weight: 600;
}

/* Hover effect for available sizes */
.lgc-size-box:not(.sold-out):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
    transition: all 0.2s ease;
}

/* Active/Selected size */
.lgc-size-box.active:not(.sold-out) {
    border-color: #ff69b4;
    background: #fff0f5;
}

/* ============================================
   END OF FIREHOUSE INVENTORY STYLES
   ============================================ */



#lgc-add-text {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
/* FLASH FIX - Pure CSS Animation */
@keyframes customizerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#lgc-customizer-wrapper {
    opacity: 0;
    animation: customizerFadeIn 0.3s ease-in-out 0.8s forwards;
}
