/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Scoped Settings to prevent theme conflicts */
.phx-accessories-page {
    --color-primary: #A384FF;
    --color-primary-light: #F0EDFE;
    --color-primary-hover: #9671F6;
    --color-bg-light: #F8F9FA;
    --color-bg-card: #F1F5F9;
    --color-text-main: #1C2331;
    --color-text-muted: #64748B;
    --color-white: #FFFFFF;
    --color-border: #E2E8F0;
    --font-main: 'Nunito', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    font-family: var(--font-main) !important;
    color: var(--color-text-main);
    background-color: transparent;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.phx-accessories-page * {
    box-sizing: border-box !important;
}

.phx-accessories-page h1,
.phx-accessories-page h2,
.phx-accessories-page h3,
.phx-accessories-page h4 {
    font-family: var(--font-main) !important;
    font-weight: 800 !important;
    margin: 0;
    line-height: 1.2;
}

.phx-accessories-page p {
    margin: 0;
}

.phx-accessories-page a {
    text-decoration: none;
    color: inherit;
}

.phx-accessories-page button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.phx-accessories-page ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Typography utilities */
.phx-text-dark {
    color: var(--color-text-main);
}

.phx-text-purple {
    color: var(--color-primary);
}

/* Buttons */
.phx-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1.75rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    transition: all 0.3s ease;
    gap: 0.5rem !important;
    line-height: 1.5 !important;
}

.phx-btn-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    box-shadow: 0 4px 14px rgba(163, 132, 255, 0.4) !important;
    border: none !important;
}

.phx-btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
}

.phx-btn-secondary {
    background-color: var(--color-white) !important;
    color: var(--color-text-main) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid var(--color-border) !important;
}

.phx-btn-secondary:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
}

/* Layout */
.phx-main-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 1.5rem;
}

/* Hero Section */
.phx-hero {
    position: relative;
    padding: 6rem 3rem 4rem 3rem;
    background: linear-gradient(135deg, #FFF5FA 0%, #FAFAFF 50%, #F5EEFF 100%);
    border-radius: 40px;
    margin-bottom: 3rem;
}

.phx-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.phx-hero-content {
    flex: 1;
    max-width: 500px;
}

.phx-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.phx-hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 3.5rem;
    /* Increased spacing as requested */
}

.phx-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.phx-hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.phx-hero-image-card {
    background: var(--color-white);
    padding: 1rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.phx-placeholder-img {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phx-placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phx-sparkle-icon {
    position: absolute;
    top: -20px;
    right: -10px;
    background: #FFC107;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

/* Shop Layout */
.phx-shop-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Sidebar */
.phx-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.phx-filter-group {
    margin-bottom: 2.5rem;
}

.phx-filter-title {
    font-size: 1.125rem !important;
    margin-bottom: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 800 !important;
}

.phx-filter-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.phx-custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.phx-custom-radio input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.phx-radio-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: all 0.2s ease;
}

.phx-radio-mark i {
    opacity: 0;
    color: var(--color-white);
    font-size: 12px;
}

.phx-custom-radio:hover .phx-radio-mark {
    background-color: var(--color-bg-light);
}

.phx-custom-radio input:checked~.phx-radio-mark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.phx-custom-radio input:checked~.phx-radio-mark i {
    opacity: 1;
}

.phx-custom-radio input:checked~.phx-label-text {
    color: var(--color-text-main);
    font-weight: 700;
}

.phx-badge {
    background-color: var(--color-bg-light);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

/* Pill Grid */
.phx-pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.phx-pill-btn {
    padding: 0.5rem;
    border: 1px solid var(--color-border) !important;
    border-radius: 9999px !important;
    background-color: var(--color-white) !important;
    color: var(--color-text-muted) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s;
}

.phx-pill-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.phx-pill-btn.active {
    background-color: var(--color-primary-light) !important;
    border-color: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
}

/* Slider */
.phx-price-slider {
    margin-top: 1rem;
}

.phx-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background: var(--color-primary-light);
    outline: none;
}

.phx-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: 2px solid var(--color-white);
}

.phx-price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Shop Content */
.phx-shop-content {
    flex: 1;
}

.phx-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.phx-results-count {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.875rem;
}

.phx-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phx-sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.phx-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.4rem 2rem 0.4rem 1rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-main);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    transition: all 0.2s;
    outline: none;
}

.phx-sort-select:hover,
.phx-sort-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.phx-view-toggles {
    display: flex;
    gap: 0.5rem;
}

.phx-view-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--color-text-muted);
    transition: all 0.2s;
}

.phx-view-btn.active {
    background-color: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
}

/* Product Grid */
.phx-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.phx-product-grid.phx-list-view {
    grid-template-columns: 1fr;
}

.phx-product-grid.phx-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.phx-product-grid.phx-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.phx-product-grid.phx-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.phx-product-card {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    width: 100% !important;
    transition: transform 0.3s ease;
}

.phx-product-grid.phx-list-view .phx-product-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background: var(--color-white);
    border-radius: 24px;
    padding-right: 2rem;
    box-shadow: var(--shadow-sm);
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.phx-product-card:hover {
    transform: translateY(-5px);
}

.phx-product-card:hover .phx-quick-actions {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.phx-product-grid.phx-list-view .phx-product-card:hover .phx-quick-actions {
    transform: translateY(-5px) !important;
}

.phx-product-image-area {
    border-radius: 24px;
    height: 280px;
    width: 100% !important;
    position: relative;
    margin-bottom: 1rem;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}

.phx-product-image-area img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 24px;
}

.phx-product-grid.phx-list-view .phx-product-image-area {
    width: 250px !important;
    height: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    flex: 0 0 250px !important;
    margin-bottom: 0 !important;
    margin-right: 2rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    flex-shrink: 0 !important;
}

.phx-placeholder-icons {
    font-size: 5rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.phx-item-1 {
    color: #f472b6;
}

.phx-item-2 {
    color: #60a5fa;
}

.phx-item-3 {
    color: #fbbf24;
}

.phx-item-4 {
    color: #34d399;
}

.phx-item-5 {
    color: #818cf8;
}

.phx-item-6 {
    color: #a78bfa;
}

.phx-badge-sale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #FEE15A !important;
    color: #000 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 0.3rem 0.7rem !important;
    border-radius: 9999px !important;
    z-index: 2;
}

.phx-action-btn {
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--color-primary);
    top: 1rem;
    right: 1rem;
    z-index: 2;
    transition: all 0.2s;
}

.phx-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.phx-quick-actions {
    position: absolute !important;
    bottom: 1.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(20px) !important;
    background-color: var(--color-white) !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    padding: 0.75rem 2rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

.phx-quick-action-btn {
    color: var(--color-text-main) !important;
    font-size: 1.5rem !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.phx-quick-action-btn:hover {
    color: var(--color-primary) !important;
    transform: scale(1.1) !important;
}

.phx-product-grid.phx-list-view .phx-quick-actions {
    left: auto !important;
    right: 2rem !important;
    bottom: 2rem !important;
    transform: none !important;
}

.phx-product-info {
    flex: 1;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.phx-product-info h4 {
    font-size: 1.05rem !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0 !important;
    font-weight: 800 !important;
    color: var(--color-text-main) !important;
    text-align: center !important;
    width: 100% !important;
}

.phx-rating {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.8rem !important;
    width: 100% !important;
}

.phx-product-grid.phx-list-view .phx-rating {
    justify-content: flex-start !important;
}

.phx-product-grid.phx-list-view .phx-product-info {
    text-align: left !important;
    align-items: flex-start !important;
}

.phx-product-grid.phx-list-view .phx-product-info h4 {
    text-align: left !important;
}

.phx-product-grid.phx-list-view .phx-price {
    text-align: left !important;
}

.phx-price {
    font-weight: 800 !important;
    color: var(--color-primary) !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    width: 100% !important;
}

.phx-old-price {
    color: var(--color-text-muted) !important;
    text-decoration: line-through !important;
    font-size: 0.9rem !important;
    margin-right: 0.5rem !important;
    font-weight: 600 !important;
}

/* Pagination */
.phx-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.phx-page-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: #1E293B !important;
    background-color: var(--color-white) !important;
    border: 2px solid #E2E8F0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.phx-page-btn:hover {
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    background-color: var(--color-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.2), 0 4px 6px -2px rgba(139, 92, 246, 0.1) !important;
}

.phx-page-btn.active {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-primary) !important;
}

.phx-page-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Instagram / Fans Section */
.phx-fans-section {
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 4rem;
}

.phx-fans-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phx-fans-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.phx-fans-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.phx-fan-card {
    border-radius: 24px;
    aspect-ratio: 4/5;
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    cursor: pointer;
}

.phx-fan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.phx-fan-inner {
    width: 50%;
    height: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.phx-fan-inner i {
    font-size: 2rem;
    color: var(--color-text-muted);
}

.phx-fan-1 {
    background-color: #8C4035;
}

.phx-fan-2 {
    background-color: #FFA59E;
}

.phx-fan-3 {
    background-color: #F1F5F9;
}

.phx-fan-4 {
    background-color: #F8F9FA;
    border: 1px solid #E2E8F0;
}

.phx-fan-5 {
    background-color: #FDF5E6;
}

.phx-fan-6 {
    background-color: #F1F5F9;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    /* Hide 3-column and 4-column toggles on tablet */
    .phx-btn-3-col,
    .phx-btn-4-col {
        display: none !important;
    }

    .phx-product-grid.phx-grid-3,
    .phx-product-grid.phx-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .phx-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phx-fans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    /* Hide 3-column and 4-column toggles on mobile */
    .phx-btn-3-col,
    .phx-btn-4-col {
        display: none !important;
    }

    /* Fallback grid modes to 2-columns on mobile */
    .phx-product-grid.phx-grid-3,
    .phx-product-grid.phx-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .phx-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .phx-hero-content {
        margin: 0 auto;
    }

    .phx-hero-actions {
        justify-content: center;
    }

    .phx-hero-image-wrapper {
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
    }

    .phx-shop-section {
        flex-direction: column;
    }

    .phx-sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .phx-filter-group {
        flex: 1;
        min-width: 200px;
    }

    .phx-fans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phx-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .phx-toolbar-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {

    /* Default to 1 column on tiniest screens */
    .phx-product-grid,
    .phx-product-grid.phx-grid-3,
    .phx-product-grid.phx-grid-4 {
        grid-template-columns: 1fr !important;
    }

    /* Preserve explicitly requested 2-column view */
    .phx-product-grid.phx-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .phx-product-grid.phx-list-view .phx-product-card {
        flex-direction: column;
        padding: 0;
    }

    .phx-product-grid.phx-list-view .phx-product-image-area {
        width: 100%;
        border-radius: 24px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}











/* custom_made.css */

/* Hide default theme page title elements */
.page-title, 
.page-title-default, 
.wd-page-title, 
.entry-header {
    display: none !important;
}

.cm-page-wrap {
    --cm-primary: #A78BFA;
    --cm-primary-light: #F3E8FF;
    /* very light purple */
    --cm-dark: #1E293B;
    --cm-gray-dark: #475569;
    --cm-gray: #94A3B8;
    --cm-light: #F1F5F9;
    --cm-bg: #FCFBFF;
    /* very light offwhite background */
    --cm-radius: 12px;
}

body {
    background-color: var(--cm-bg);
}

.cm-page-wrap {
    background-color: var(--cm-bg);
    width: 100%;
}

.cm-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--cm-dark);
}

/* Hero Section */
.cm-hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    gap: 4rem;
}

.cm-hero-content {
    flex: 1;
    max-width: 500px;
}

.cm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--cm-primary-light);
    color: var(--cm-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.cm-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--cm-dark);
}

.cm-text-purple {
    color: var(--cm-primary);
}

.cm-desc {
    font-size: 1.1rem;
    color: var(--cm-gray-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cm-hero-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--cm-gray);
    font-weight: 500;
}

.cm-note-icon {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-primary);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.cm-hero-image {
    flex: 1;
    max-width: 450px;
    display: flex;
    justify-content: flex-end;
}

.cm-image-placeholder {
    background-color: #fff;
    border-radius: 24px;
    height: 400px;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--cm-primary-light);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

.cm-hero-img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Container */
.cm-form-container {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px -10px rgb(0 0 0 / 0.05);
    margin-bottom: 4rem;
}

.cm-step {
    margin-bottom: 3rem;
}

.cm-step:last-child {
    margin-bottom: 0;
}

.cm-step-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.cm-step-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--cm-primary);
    margin-right: 0.75rem;
    border-radius: 2px;
}

.cm-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cm-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* Common Inputs */
.cm-input {
    width: 100%;
    background-color: #F8FAFC;
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    border-radius: var(--cm-radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--cm-dark);
    transition: all 0.2s;
    outline: none;
}

.cm-input:focus {
    border-color: var(--cm-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--cm-primary-light);
}

/* Step 1 */
.cm-step-1-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.cm-radio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cm-pill {
    cursor: pointer;
}

.cm-pill input {
    display: none;
}

.cm-pill span {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cm-gray-dark);
    transition: all 0.2s;
}

.cm-pill input:checked+span {
    border-color: var(--cm-primary);
    color: var(--cm-primary);
    background-color: var(--cm-primary-light);
}

.cm-measurements {
    display: flex;
    gap: 1rem;
}

.cm-measurements .cm-input-group {
    width: 100px;
}

/* Step 2 */
.cm-upload-area {
    border: 2px dashed #E2E8F0;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    background-color: #F8FAFC;
    transition: all 0.2s;
}

.cm-upload-area:hover {
    border-color: var(--cm-primary);
}

.cm-upload-icon {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.cm-upload-area h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cm-upload-area p {
    font-size: 0.85rem;
    color: var(--cm-gray);
    margin-bottom: 1rem;
}

.cm-upload-link {
    color: var(--cm-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Step 3 */
.cm-step-3-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.cm-color-circles {
    display: flex;
    gap: 1rem;
}

.cm-color-circle {
    cursor: pointer;
    display: inline-block;
}

.cm-color-circle input {
    display: none;
}

.cm-color-dot {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--c);
    border: 2px solid transparent;
    transition: all 0.2s;
    box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.05);
}

.cm-color-circle input:checked+.cm-color-dot {
    border-color: var(--cm-primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cm-primary);
}

.cm-fabric-select {
    min-width: 250px;
}

.cm-select-wrapper {
    position: relative;
}

.cm-select-wrapper .ti {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--cm-gray);
}

.cm-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
    min-height: 48px;
    /* Fix for select box text cutoff */
    line-height: normal;
}

/* Extra Colors Expandable Section */
.cm-extra-colors {
    display: none;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.cm-extra-colors.expanded {
    display: flex;
}

.cm-more-colors-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: var(--cm-gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-more-colors-btn:hover {
    background-color: var(--cm-primary-light);
    color: var(--cm-primary);
    border-color: var(--cm-primary);
}

.cm-more-colors-btn.active {
    transform: rotate(180deg);
}

/* Step 4 */
.cm-step-4-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cm-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cm-form-row .cm-input-group {
    flex: 1;
}

.cm-textarea {
    width: 100%;
    background-color: #F8FAFC;
    border: 1px solid transparent;
    padding: 1rem;
    border-radius: var(--cm-radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--cm-dark);
    transition: all 0.2s;
    outline: none;
    min-height: 100px;
    resize: vertical;
}

.cm-textarea:focus {
    border-color: var(--cm-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--cm-primary-light);
}






/* Summary Box */
/* Summary Box - Premium Look */
.cm-summary-box {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.1);
    position: sticky;
    top: 2rem;
}

.cm-summary-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--cm-gray);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.cm-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--cm-gray-dark);
}

.cm-bold {
    font-weight: 700;
    color: var(--cm-dark);
}

.cm-border-row {
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #E2E8F0;
    margin-bottom: 2rem;
}

.cm-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2.5rem;
}

.cm-total-label {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--cm-dark);
}

.cm-total-val {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cm-primary) 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cm-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--cm-primary) 0%, #9333EA 100%);
    color: #fff;
    border: none;
    padding: 1.25rem;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.cm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.4);
}

.cm-submit-btn:active {
    transform: translateY(0);
}

.cm-summary-note {
    font-size: 0.7rem;
    text-align: center;
    color: var(--cm-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}


/* How It Works */
.cm-how-it-works {
    text-align: center;
    padding: 4rem 0;
}

.cm-how-it-works h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cm-hiw-desc {
    color: var(--cm-gray-dark);
    margin-bottom: 3rem;
}

.cm-hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cm-hiw-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cm-hiw-icon {
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
}

.cm-hiw-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cm-hiw-card p {
    font-size: 0.85rem;
    color: var(--cm-gray);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .cm-hero-section {
        flex-direction: column;
        text-align: center;
    }

    .cm-hero-image {
        justify-content: center;
    }

    .cm-hero-note {
        justify-content: center;
    }

    .cm-form-container {
        padding: 2rem 1.5rem;
    }

    .cm-step-4-grid {
        grid-template-columns: 1fr;
    }

    .cm-form-row {
        flex-direction: column;
    }

    .cm-hiw-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cm-title {
        font-size: 2.5rem;
    }
}