@import url(root.css);

body {
    background-color: var(--10);
    color: var(--8);
    font-family: var(--poppins) !important;
    margin: 0;
    padding: 0;
    background-image: url('../images/content2.svg');
    background-size: cover;
    background-position: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--sloop-script);
}

/* --- Florist page styles (non-duplicating additions) --- */
.florist-hero {
    background: url('../images/florist-bg.png') center/cover no-repeat;
    color: var(--10);
    padding: 72px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.florist-hero .hero-inner {
    max-width: 1100px;
    margin: 0 auto
}

.florist-hero h1 {
    font-size: 80px;
    margin: 0 0 8px;
    text-align: center;
}

.florist-hero p {
    margin: 0;
    opacity: 0.95;
    text-align: center;
    font-size: 24px;
}

.florist-content {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto
}

.florist-form-wrap {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 197, 246, 0.18) 100%);
    border: 1px solid rgba(24, 39, 54, 0.12);
    padding: 30px;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(24, 39, 54, 0.12)
}

.florist-form {
    display: flex;
    flex-direction: column;
    gap: 22px
}

.form-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.form-step-indicator {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(24, 39, 54, 0.12);
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease
}

.form-step-indicator.is-active {
    background: linear-gradient(135deg, var(--3), var(--4));
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(255, 17, 103, 0.2);
    transform: translateY(-2px)
}

.form-step-indicator.is-complete {
    background: rgba(191, 239, 228, 0.8);
    border-color: rgba(28, 152, 237, 0.18)
}

.form-step-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(24, 39, 54, 0.08);
    color: var(--8);
    font-family: var(--poppins);
    font-weight: 700;
    letter-spacing: .04em
}

.form-step-indicator.is-active .form-step-number {
    background: rgba(255, 255, 255, 0.18);
    color: var(--10);
}

.form-step-label {
    font-family: var(--poppins);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    color: var(--8);
}

.form-step-indicator.is-active .form-step-label {
    color: var(--10)
}

.form-step-card {
    display: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(191, 239, 228, 0.18) 100%);
    border: 1px solid rgba(24, 39, 54, 0.08);
    border-radius: 28px;
    padding: 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75)
}

.form-step-card.is-active {
    display: block
}

.step-card-header {
    margin-bottom: 24px
}

.step-kicker {
    margin: 0 0 10px;
    font-family: var(--poppins);
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--14);
    font-size: 12px
}

.step-card-header h2 {
    margin: 0 0 10px;
    font-size: 52px;
    line-height: .95;
    color: var(--8);
}

.step-card-header p {
    margin: 0;
    color: var(--9);
    font-size: 18px;
    max-width: 620px
}

.florist-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.florist-form .form-row {
    display: flex;
    flex-direction: column
}

.florist-form .form-row.full {
    grid-column: 1/-1
}

.florist-form .form-row label,
.florist-form .form-row legend {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--8);
}

.florist-form input[type=text],
.florist-form input[type=email],
.florist-form input[type=tel],
.florist-form input[type=time],
.florist-form input[type=password],
.florist-form textarea,
.florist-form select {
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(24, 39, 54, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    font-family: var(--poppins);
    color: var(--8);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease
}

.florist-form .form-topper p {
    font-family: var(--poppins);
    color: var(--8);
    font-size: 18px;
}

.florist-form textarea {
    min-height: 120px;
    resize: vertical;
}

.florist-form input[type=file] {
    min-height: 54px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(24, 39, 54, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(191, 239, 228, 0.2) 100%);
    font-family: var(--poppins);
    color: var(--8);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.florist-form input[type=file]:hover {
    border-color: rgba(255, 17, 103, 0.25);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 197, 246, 0.18) 100%);
}

.florist-form input[type=file]:focus {
    outline: none;
    border-color: var(--3);
    box-shadow: 0 0 0 4px rgba(255, 17, 103, 0.12);
    transform: translateY(-1px);
}

.florist-form input[type=file]::file-selector-button {
    margin-right: 14px;
    border: 0;
    border-radius: 999px;
    min-height: 38px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--3), var(--4));
    color: var(--10);
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 10px 20px rgba(255, 17, 103, 0.18);
}

.florist-form input[type=file]::file-selector-button:hover {
    background: linear-gradient(135deg, var(--5), var(--6));
    box-shadow: 0 10px 20px rgba(28, 152, 237, 0.18);
    transform: translateY(-1px);
}

.florist-form input:focus,
.florist-form textarea:focus,
.florist-form select:focus {
    outline: none;
    border-color: var(--3);
    box-shadow: 0 0 0 4px rgba(255, 17, 103, 0.12);
    transform: translateY(-1px)
}

.oh-quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.oh-quick-actions-label {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: 13px;
    color: var(--9);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.oh-preset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 39, 54, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--8);
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.oh-preset-btn:hover {
    border-color: rgba(255, 17, 103, 0.3);
    background: rgba(255, 17, 103, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 17, 103, 0.1);
}

.oh-preset-btn-outline {
    background: transparent;
    border-style: dashed;
}

.operating-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(191, 239, 228, 0.18) 100%);
    border: 1px solid rgba(24, 39, 54, 0.08);
}

.operating-hours-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.operating-hours-row:nth-child(6),
.operating-hours-row:nth-child(7) {
    border-left: 3px solid rgba(255, 17, 103, 0.3);
    padding-left: 10px;
}

.operating-hours-row.is-closed {
    opacity: .78;
}

.operating-hours-day {
    font-family: var(--poppins);
    font-size: 15px;
    font-weight: 700;
    color: var(--8);
}

.operating-hours-fields {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.operating-hours-fields input[type=time] {
    min-width: 150px;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(24, 39, 54, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(191, 239, 228, 0.22) 100%);
    box-shadow: 0 10px 22px rgba(24, 39, 54, 0.08);
    font-family: var(--poppins);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--8);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.operating-hours-fields input[type=time]:hover {
    border-color: rgba(255, 17, 103, 0.25);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 197, 246, 0.2) 100%);
}

.operating-hours-fields input[type=time]:focus {
    outline: none;
    border-color: var(--3);
    box-shadow: 0 0 0 4px rgba(255, 17, 103, 0.12), 0 12px 24px rgba(24, 39, 54, 0.08);
    transform: translateY(-1px);
}

.operating-hours-fields input[type=time]:disabled {
    cursor: not-allowed;
    color: rgba(24, 39, 54, 0.45);
    background: linear-gradient(180deg, rgba(239, 241, 243, 0.95) 0%, rgba(226, 231, 235, 0.92) 100%);
    border-color: rgba(24, 39, 54, 0.08);
    box-shadow: none;
    transform: none;
}

.operating-hours-fields input[type=time]::-webkit-datetime-edit,
.operating-hours-fields input[type=time]::-webkit-datetime-edit-hour-field,
.operating-hours-fields input[type=time]::-webkit-datetime-edit-minute-field,
.operating-hours-fields input[type=time]::-webkit-datetime-edit-ampm-field,
.operating-hours-fields input[type=time]::-webkit-datetime-edit-text {
    color: var(--8);
    font-family: var(--poppins);
    font-weight: 700;
}

.operating-hours-fields input[type=time]::-webkit-calendar-picker-indicator {
    opacity: .8;
    cursor: pointer;
    filter: saturate(1.1);
}

.operating-hours-separator {
    font-family: var(--poppins);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--9);
}

.operating-hours-closed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 6px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(24, 39, 54, 0.06);
    border: 1px solid rgba(24, 39, 54, 0.08);
    font-family: var(--poppins);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--8);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.operating-hours-closed input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    display: inline-grid;
    place-content: center;
    border-radius: 6px;
    border: 1px solid rgba(24, 39, 54, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 10px rgba(24, 39, 54, 0.08);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.operating-hours-closed input[type=checkbox]::before {
    content: '';
    width: 11px;
    height: 11px;
    transform: scale(0);
    transition: transform .15s ease-in-out;
    clip-path: polygon(14% 44%, 0 59%, 41% 100%, 100% 20%, 84% 6%, 39% 62%);
    background: var(--10);
}

.operating-hours-closed:hover {
    background: rgba(255, 17, 103, 0.08);
    border-color: rgba(255, 17, 103, 0.16);
    transform: translateY(-1px);
}

.operating-hours-closed:hover input[type=checkbox] {
    border-color: rgba(255, 17, 103, 0.28);
}

.operating-hours-closed input[type=checkbox]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 17, 103, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.operating-hours-closed input[type=checkbox]:checked {
    background: linear-gradient(135deg, var(--3), var(--4));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(255, 17, 103, 0.22);
}

.operating-hours-closed input[type=checkbox]:checked::before {
    transform: scale(1);
}

.operating-hours-closed input[type=checkbox]:checked+span {
    color: var(--3);
}

.operating-hours-closed span {
    font-family: var(--poppins);
    font-weight: 700;
}

.operating-hours-note {
    display: block;
    margin-top: 12px;
    font-family: var(--poppins);
    font-style: normal;
    color: var(--9);
}

.product-step-shell {
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
    border: 1px solid #ecdccb;
    border-radius: 28px;
    box-shadow: 0 20px 44px rgba(85, 59, 35, 0.08);
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 auto;
    max-width: 100%;
    padding: 1.5rem;
    min-height: 750px;
}

.product-step-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-step-toolbar {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(191, 239, 228, 0.24));
    border: 1px solid rgba(24, 39, 54, 0.08);
    border-radius: 24px;
    border-bottom-color: rgba(24, 39, 54, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 20px 22px 1.25rem;
}

.product-step-caption {
    margin: 0 0 8px;
    font-family: var(--poppins);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    color: var(--hard-blue);
}

.product-step-toolbar h3 {
    margin: 0 0 8px;
    font-size: 40px;
    line-height: .95;
    color: var(--8);
}

.product-step-toolbar p:last-child {
    margin: 0;
    color: var(--9);
    max-width: 640px;
}

.product-step-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    width: auto;
}

.product-step-counter {
    background: var(--10);
    border: 1px solid var(--3);
    border-radius: 999px;
    color: var(--8);
    font-family: var(--poppins);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 0.45rem 0.85rem;
    text-transform: uppercase;
}

.product-step-workspace {
    display: block;
    margin-top: 0;
}

.product-step-note {
    color: var(--8);
    margin: 0 0 1rem;
    max-width: 680px;
}

.product-builder-stage[hidden],
.product-review-stage[hidden] {
    display: none !important;
}

.product-card-grid {
    display: block;
}

.product-entry-card {
    position: relative;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(79, 49, 35, 0.12);
    display: none;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.product-entry-card.is-active {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 0;
}

.product-card-remove {
    display: none;
}

.product-img-builder {
    background: linear-gradient(180deg, #f5e4cf 0%, #f9f3ec 100%);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 100%;
    padding: 1.25rem;
}

.product-image-shell {
    position: relative;
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed #d5b995;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.product-image-shell:hover {
    border-color: #c5a885;
    background: rgba(255, 255, 255, 0.85);
}

.product-preview-image,
.product-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.product-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #89684b;
    font-family: var(--poppins);
    font-weight: 600;
    letter-spacing: .04em;
    text-align: center;
}

.product-image-placeholder-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--10);
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 12px 22px rgba(24, 39, 54, 0.1);
}

.product-image-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: var(--10);
    color: var(--8);
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
}

.product-image-upload input {
    display: none;
}

.product-entry-body {
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card-title-preview {
    font-family: var(--garet);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--8);
    margin: 0;
}

.product-preview-card {
    background: var(--10);
    border: 1px solid var(--3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(79, 49, 35, 0.1);
}

.product-preview-card-body {
    padding: 1rem;
}

.product-preview-card-body h5 {
    font-family: var(--garet);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--8);
    margin: 0 0 0.5rem;
}

.product-preview-card-body .category {
    color: var(--9);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    display: block;
}

.product-preview-card-body .price {
    font-family: var(--poppins);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hard-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.availability .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--13);
}

.price {
    font-family: var(--poppins);
    font-weight: 600;
    color: var(--8);
}

.product-editor-fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
    flex: 1;
}

.product-card-fields {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card-fields .form-row.full {
    grid-column: 1 / -1;
}

.product-allergen-row {
    background: var(--10);
    border: 1px solid var(--3);
    border-radius: 18px;
    padding: 0.9rem;
}

.product-allergen-hint {
    color: var(--8);
    display: block;
    font-size: 0.84rem;
    margin-top: 0.35rem;
}

.product-editor-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(24, 39, 54, 0.08);
    flex-wrap: wrap;
}

.product-editor-actions .product-nav-group {
    display: flex;
    gap: 0.75rem;
}

.product-review-stage {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(191, 239, 228, 0.14) 100%);
    border: 1px solid rgba(24, 39, 54, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
}

.product-review-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-review-header h4 {
    color: var(--8);
    font-size: 2.1rem;
    margin: 0 0 0.25rem;
}

.product-review-header p {
    color: var(--9);
    margin: 0;
}

.product-review-table-wrap {
    overflow-x: auto;
}

.product-review-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    width: 100%;
}

.product-review-table th,
.product-review-table td {
    border-bottom: 1px solid rgba(24, 39, 54, 0.08);
    padding: 0.95rem 0.85rem;
    text-align: left;
    vertical-align: middle;
}

.product-review-table th {
    color: var(--9);
    font-family: var(--poppins);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-review-name {
    color: var(--8);
    display: block;
    font-family: var(--garet);
    font-size: 1.08rem;
    font-weight: 700;
}

.product-review-subtext {
    color: var(--9);
    display: block;
    font-size: 0.88rem;
    margin-top: 0.2rem;
}

.product-review-actions {
    display: flex;
    gap: 0.55rem;
}

.product-review-action {
    background: rgba(24, 39, 54, 0.06);
    border: 0;
    border-radius: 999px;
    color: var(--8);
    font-family: var(--poppins);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .06em;
    min-height: 38px;
    padding: 0 0.95rem;
    text-transform: uppercase;
}

.product-review-action.delete {
    background: rgba(255, 17, 103, 0.1);
    color: var(--3);
}

.product-review-empty {
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(24, 39, 54, 0.14);
    border-radius: 20px;
    color: var(--9);
    padding: 1.1rem;
    text-align: center;
}

.product-form-footer {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(24, 39, 54, 0.08);
    display: flex;
    justify-content: center;
}

.step-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

@media (max-width:1100px) {
    .product-entry-card.is-active {
        grid-template-columns: 1fr;
    }

    .product-img-builder {
        padding: 1.25rem;
    }

    .product-step-shell {
        padding: 1.25rem;
    }

    .product-step-intro {
        align-items: stretch;
    }
}

.categories-card {
    margin: 0;
    padding: 0;
    border: 0
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.category-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(24, 39, 54, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease
}

.category-pill input {
    accent-color: var(--3)
}

.category-pill:has(input:checked) {
    background: rgba(255, 17, 103, 0.1);
    border-color: rgba(255, 17, 103, 0.28);
    box-shadow: 0 10px 24px rgba(255, 17, 103, 0.12);
    transform: translateY(-1px)
}

.business-empty-state {
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(191, 239, 228, 0.48), rgba(176, 215, 204, 0.3));
    border: 1px solid rgba(28, 152, 237, 0.12);
    margin-bottom: 18px;
    color: var(--8)
}

.business-empty-state p {
    margin: 8px 0 0;
    color: var(--9)
}

.business-section {
    display: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 180, 163, 0.15) 100%);
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(202, 142, 182, 0.24)
}

.business-section.is-visible {
    display: block
}

.form-actions {
    margin-top: 24px
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px
}

.step-actions-split {
    justify-content: space-between
}

.step-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    font-family: var(--poppins);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer
}

.step-btn:hover {
    transform: translateY(-1px)
}

.step-btn-primary {
    background: linear-gradient(135deg, var(--3), var(--4));
    color: var(--10);
    box-shadow: 0 14px 28px rgba(255, 17, 103, 0.22)
}

.step-btn-primary:hover {
    background: linear-gradient(135deg, var(--13), var(--14));
    box-shadow: 0 14px 28px rgba(28, 152, 237, 0.22)
}

.step-btn-secondary {
    background: rgba(24, 39, 54, 0.08);
    box-shadow: 0 10px 20px rgba(24, 39, 54, 0.08);
    color: var(--8)
}

.step-btn-secondary:hover {
    background: rgba(24, 39, 54, 0.14);
    color: var(--8)
}

.add-product{
    background: linear-gradient(135deg, var(--3), var(--4));
    color: var(--10);
}

.add-product:hover {
    background: linear-gradient(135deg, var(--13), var(--14));
    box-shadow: 0 14px 28px rgba(28, 152, 237, 0.22);
}

/* Alerts reuse bootstrap semantics, add subtle spacing */
.florist-form-wrap .alert {
    margin-bottom: 14px
}

@media (max-width:800px) {
    .form-stepper {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .step-card-header h2 {
        font-size: 40px
    }

    .florist-form .form-grid {
        grid-template-columns: 1fr
    }

    .product-card-grid,
    .product-card-fields {
        grid-template-columns: 1fr
    }

    .product-step-shell {
        padding: 1rem;
    }

    .product-step-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .operating-hours-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .operating-hours-fields {
        align-items: stretch;
    }

    .operating-hours-fields input[type=time] {
        min-width: 0;
        width: 100%;
    }

    .operating-hours-closed {
        margin-left: 0;
    }

    .step-actions,
    .step-actions-split {
        flex-direction: column-reverse;
        align-items: stretch
    }

    .florist-hero {
        padding: 36px 16px
    }

    .florist-hero h1 {
        font-size: 32px
    }

    .product-step-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-step-toolbar h3 {
        font-size: 32px;
    }

    .product-entry-body {
        padding: 1rem;
    }

    .product-image-shell,
    .product-preview-image,
    .product-img {
        min-height: 200px;
    }

    .product-card-add {
        align-self: flex-start;
    }

    .product-editor-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-editor-actions .product-nav-group {
        flex-direction: column;
        gap: 0.75rem;
    }

}

/* Terms consent checkbox */
.terms-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 17, 103, 0.06), rgba(248, 197, 246, 0.18));
    border: 2px solid rgba(255, 17, 103, 0.3);
    box-shadow: 0 8px 24px rgba(255, 17, 103, 0.1);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.terms-consent-check:has(input:checked) {
    background: linear-gradient(135deg, rgba(191, 239, 228, 0.5), rgba(176, 215, 204, 0.3));
    border-color: rgba(28, 152, 237, 0.45);
    box-shadow: 0 8px 24px rgba(28, 152, 237, 0.14);
}

.terms-consent-check input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin: 1px 0 0;
    border-radius: 8px;
    border: 2px solid rgba(255, 17, 103, 0.45);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 10px rgba(24, 39, 54, 0.1);
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.terms-consent-check input[type=checkbox]::before {
    content: '';
    width: 14px;
    height: 14px;
    transform: scale(0);
    transition: transform .15s ease-in-out;
    clip-path: polygon(14% 44%, 0 59%, 41% 100%, 100% 20%, 84% 6%, 39% 62%);
    background: var(--10);
}

.terms-consent-check input[type=checkbox]:checked {
    background: linear-gradient(135deg, var(--3), var(--4));
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(255, 17, 103, 0.3);
    transform: scale(1.05);
}

.terms-consent-check input[type=checkbox]:checked::before {
    transform: scale(1);
}

.terms-consent-check input[type=checkbox]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 17, 103, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.terms-consent-check label {
    font-family: var(--poppins);
    font-size: 15px;
    font-weight: 700;
    color: var(--8);
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

/* Password visibility toggle styles */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 6px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: inherit;
    line-height: 0;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle:focus-visible {
    box-shadow: 0 0 0 4px rgba(28, 152, 237, 0.08);
    border-radius: 6px;
}

.password-toggle .icon-eyewhite {
    width: 18px;
    height: 18px;
    margin-top: 34px;
    display: block;
    color: var(--8);
}

.password-toggle.active .icon-eyewhite {
    opacity: 0.85;
}

input[type="password"] {
    transition: padding-right 160ms ease;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.link{
    color: var(--3);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

/* Phone-specific responsive adjustments (<= 480px) */
@media (max-width: 480px) {
    .florist-hero {
        padding: 24px 12px;
        height: auto;
        min-height: 40vh;
        background-position: center top;
    }

    .florist-hero .hero-inner {
        max-width: 92%;
    }

    .florist-hero h1 {
        font-size: 24px;
        line-height: 1.05;
        margin-bottom: 8px;
        text-align: center;
    }

    .florist-hero p {
        font-size: 15px;
        text-align: center;
    }

    .florist-content {
        padding: 20px 12px;
    }

    .florist-form-wrap {
        padding: 18px;
        border-radius: 18px;
    }

    .florist-form .form-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .form-stepper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 8px;
    }

    .form-step-indicator {
        padding: 10px;
        gap: 8px;
        border-radius: 14px;
    }

    .form-step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .form-step-label {
        font-size: 11px;
    }

    .form-step-card {
        padding: 20px;
        border-radius: 20px;
    }

    .florist-form input[type=text],
    .florist-form input[type=email],
    .florist-form input[type=tel],
    .florist-form input[type=time],
    .florist-form input[type=password],
    .florist-form textarea,
    .florist-form select {
        min-height: 46px;
        padding: 12px;
        border-radius: 12px;
        font-size: 15px;
    }

    .florist-form textarea {
        min-height: 100px;
    }

    /* Dissolve outer shell so inner cards aren't nested on mobile */
    .product-step-shell {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        height: auto;
        gap: 12px;
    }

    /* Toolbar becomes its own standalone header card */
    .product-step-toolbar {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(191, 239, 228, 0.2) 100%);
        border: 1px solid rgba(24, 39, 54, 0.1);
        border-radius: 20px;
        box-shadow: 0 8px 22px rgba(24, 39, 54, 0.07);
        padding: 16px;
        gap: 10px;
    }

    .product-step-toolbar h3 {
        font-size: 28px;
    }

    .product-step-counter {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Entry card is now the sole visible card */
    .product-entry-card.is-active {
        grid-template-columns: 1fr;
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(79, 49, 35, 0.1);
    }

    /* Round image section on top when stacked */
    .product-img-builder {
        border-radius: 20px 20px 0 0;
        padding: 1rem;
    }

    .product-entry-body {
        border-radius: 0 0 20px 20px;
        padding: 1rem;
    }

    /* Review stage as standalone card */
    .product-review-stage {
        border-radius: 20px;
        padding: 1rem;
    }

    .product-form-footer {
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }

    .product-image-shell {
        min-height: 160px;
    }

    .product-preview-image,
    .product-img {
        min-height: 160px;
    }

    .step-btn {
        padding: 10px 18px;
    }

    .password-toggle .icon-eyewhite {
        margin-top: 24px;
        width: 16px;
        height: 16px;
    }

    .category-pill {
        padding: 10px 12px;
    }

    .business-empty-state {
        padding: 14px 12px;
    }

    /* Slightly reduce heavy shadows on small devices */
    .florist-form-wrap,
    .product-preview-card {
        box-shadow: 0 10px 22px rgba(24, 39, 54, 0.06);
    }

    /* Flatten products step: florist-form-wrap + product-entry-card = 2 visible layers */
    .form-step-card[data-step="4"] {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 12px 0 0;
        border-radius: 0;
    }

    .product-img-builder {
        background: transparent;
    }
}