/* ============================================
   PSYCHECLOTH — SYLIUS-SPECIFIC OVERRIDES
   Adapts Sylius components to the Bohemian Vintage theme
   ============================================ */

/* ── Reset Sylius default Bootstrap/Semantic styles ── */
.psychecloth-body {
    background: var(--hippie-dark, #1a0b2e) !important;
    color: var(--text-primary, #f3e5ab) !important;
}

.psychecloth-wrapper {
    position: relative;
    z-index: 1;
}

/* ── Product Detail Page ── */
.product-detail {
    padding: 96px clamp(20px, 4vw, 48px) 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-main-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #24123a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #432c7a;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 92% 100%, 0% 100%);
}

.product-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.product-thumb {
    width: 72px;
    height: 72px;
    border: 1px solid #432c7a;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: #ff7b00;
}

.product-detail-info {
    padding-top: 20px;
}

.related-products {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid #432c7a;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ── Sylius Form Overrides ── */
.product-detail form,
.cart-form {
    color: var(--text-primary, #f3e5ab);
}

.product-detail form label,
.cart-form label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b39ddb;
    margin-bottom: 8px;
    display: block;
}

.product-detail form select,
.product-detail form input[type="number"],
.cart-form select,
.cart-form input[type="number"],
.psyche-quantity-input {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 10px 14px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    transition: border-color 0.3s !important;
    width: auto;
    min-width: 60px;
}

.product-detail form select:focus,
.product-detail form input:focus,
.cart-form select:focus,
.cart-form input:focus {
    border-color: #ff7b00 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.08) !important;
}

.product-detail form button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #ff7b00;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin-top: 20px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 90% 100%, 0% 100%);
}

.product-detail form button[type="submit"]:hover {
    background: #fff;
    color: #1a0b2e;
    transform: translateY(-2px);
}

/* ── Cart Page ── */
.cart-page {
    padding: 96px clamp(20px, 4vw, 48px) 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-page-header {
    text-align: center;
    margin-bottom: 48px;
}

.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.cart-page-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #432c7a;
    align-items: center;
}

.cart-page-item-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    background: #24123a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #432c7a;
}

.cart-page-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-page-item-info h3 {
    font-family: 'Yeseva One', serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 4px;
}

.cart-page-item-info h3 a {
    color: #f3e5ab;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-page-item-info h3 a:hover {
    color: #ffb700;
}

.cart-page-item-variant {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #b39ddb;
    display: block;
    margin-bottom: 12px;
}

.cart-page-item-quantity {
    max-width: 80px;
}

.cart-page-item-price {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #ff7b00;
}

.cart-summary-card {
    background: rgba(45, 27, 78, 0.5);
    border: 1px solid #432c7a;
    padding: 32px;
}

.cart-summary-title {
    font-family: 'Yeseva One', serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #432c7a;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: #b39ddb;
}

.cart-summary-discount {
    color: #ff7b00;
}

.cart-summary-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid #432c7a;
    font-size: 16px;
    color: #ffb700;
    font-weight: 700;
}

.cart-empty-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40vh;
    gap: 12px;
}

.cart-empty-page p {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    color: #b39ddb;
}

.cart-empty-page span {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: rgba(179, 157, 219, 0.5);
}

@media (max-width: 768px) {
    .cart-page-grid {
        grid-template-columns: 1fr;
    }
    .cart-page-item {
        grid-template-columns: 80px 1fr;
    }
    .cart-page-item-price {
        grid-column: 2;
    }
}

/* ── Catalog Page Overrides ── */
.catalog {
    padding-top: 140px;
}

/* Override Sylius grid to our product grid */
.catalog .sylius-product-list,
.catalog [data-controller] .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .catalog .sylius-product-list,
    .catalog [data-controller] .row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 540px) {
    .catalog .sylius-product-list,
    .catalog [data-controller] .row {
        grid-template-columns: 1fr !important;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ── Sylius Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
    list-style: none;
    padding: 0;
}

.pagination .page-item .page-link,
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #432c7a;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #b39ddb;
    text-decoration: none;
    transition: all 0.3s;
    background: transparent;
}

.pagination .page-item.active .page-link,
.pagination .active a,
.pagination .current {
    background: rgba(255, 123, 0, 0.12);
    border-color: #ff7b00;
    color: #ff7b00;
}

.pagination .page-item .page-link:hover,
.pagination a:hover {
    border-color: #ff7b00;
    color: #ff7b00;
}

/* ── Sylius Breadcrumbs ── */
.breadcrumb,
[class*="breadcrumb"] {
    background: transparent !important;
    padding: 8px 0 !important;
    margin-bottom: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.breadcrumb a {
    color: rgba(179, 157, 219, 0.5) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ffb700 !important;
}

.breadcrumb .active {
    color: #b39ddb !important;
}

/* ── Sylius Auth / Account Pages ── */
.psyche-main .container,
.psyche-main .ui.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px clamp(20px, 4vw, 48px) 48px;
}

.psyche-main h1,
.psyche-main h2,
.psyche-main h3 {
    font-family: 'Yeseva One', serif;
    font-weight: 400;
}

.psyche-main .form-control,
.psyche-main input[type="text"],
.psyche-main input[type="email"],
.psyche-main input[type="password"],
.psyche-main input[type="tel"],
.psyche-main textarea {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 12px 16px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 13px !important;
    transition: border-color 0.3s !important;
}

.psyche-main .form-control:focus,
.psyche-main input:focus,
.psyche-main textarea:focus {
    border-color: #ff7b00 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.08) !important;
}

.psyche-main .btn-primary,
.psyche-main .btn-success,
.psyche-main button[type="submit"]:not(.checkout-btn):not(.add-to-cart-btn) {
    background: #ff7b00 !important;
    border: none !important;
    color: #fff !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 14px 28px !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s !important;
    font-weight: 700 !important;
}

.psyche-main .btn-primary:hover,
.psyche-main .btn-success:hover,
.psyche-main button[type="submit"]:not(.checkout-btn):not(.add-to-cart-btn):hover {
    background: #fff !important;
    color: #1a0b2e !important;
    transform: translateY(-2px) !important;
}

/* ── Sylius Filter Sidebar ── */
.psyche-main .sidebar,
.psyche-main [class*="sidebar"] {
    background: rgba(45, 27, 78, 0.5);
    border: 1px solid #432c7a;
    padding: 24px;
}

/* ── Link styles ── */
.psyche-main a {
    color: #ff7b00;
    transition: color 0.3s;
}

.psyche-main a:hover {
    color: #ffb700;
}

/* ── Tables ── */
.psyche-main table {
    width: 100%;
    border-collapse: collapse;
}

.psyche-main table th {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b39ddb;
    padding: 12px 8px;
    border-bottom: 1px solid #432c7a;
    text-align: left;
}

.psyche-main table td {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(67, 44, 122, 0.5);
    font-size: 13px;
    color: #b39ddb;
}

/* ── Product card link reset ── */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:hover {
    color: inherit;
}

/* ── Checkout overrides ── */
.psyche-main .steps,
.psyche-main [class*="steps"] {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    padding: 24px 0;
    border-bottom: 1px solid #432c7a;
}

/* ── Hide default Sylius header/footer (we have our own) ── */
#sylius-header,
#sylius-footer,
.sylius-flash-message {
    display: none !important;
}

/* ── Bootstrap overrides for dark theme ── */
.psyche-main .bg-light,
.psychecloth-body .bg-light {
    --bs-bg-opacity: 1;
    --bs-light-rgb: 26, 11, 46;
    background-color: rgba(45, 27, 78, 0.5) !important;
    background: rgba(45, 27, 78, 0.5) !important;
    border: 1px solid #432c7a !important;
    color: var(--text-primary, #f3e5ab) !important;
}

.psyche-main .bg-light h2,
.psyche-main .bg-light h3,
.psyche-main .bg-light p,
.psyche-main .bg-light span {
    color: #b39ddb !important;
}

.psyche-main .bg-light a {
    color: #ff7b00 !important;
}

.psyche-main .bg-light a:hover {
    color: #ffb700 !important;
}

.psyche-main .bg-light svg {
    opacity: 0.3;
}

/* ── Bootstrap alert boxes ── */
.psyche-main .alert,
.psyche-main .alert-info,
.psyche-main .alert-success,
.psyche-main .alert-warning,
.psyche-main .alert-danger,
.psychecloth-body .alert,
.psychecloth-body .alert-info {
    --bs-alert-bg: rgba(45, 27, 78, 0.5);
    --bs-alert-border-color: #432c7a;
    --bs-alert-color: #b39ddb;
    background-color: rgba(45, 27, 78, 0.5) !important;
    background: rgba(45, 27, 78, 0.5) !important;
    border-color: #432c7a !important;
    color: #b39ddb !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace;
}

.psyche-main .alert-info,
.psychecloth-body .alert-info {
    --bs-alert-border-color: rgba(255, 123, 0, 0.3);
    border-color: rgba(255, 123, 0, 0.3) !important;
    color: #ff7b00 !important;
}

/* ── Catalog Page — layout cleanup ── */
.catalog .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.catalog .col-lg-3,
.catalog .col-md-3,
.catalog [class*="col-lg-3"],
.catalog [class*="col-md-3"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin-bottom: 32px;
}

.catalog .col-lg-3 .card,
.catalog .col-md-3 .card,
.catalog [class*="col-lg-3"] .card,
.catalog [class*="col-md-3"] .card {
    background: rgba(45, 27, 78, 0.3) !important;
    border: 1px solid #432c7a !important;
    border-radius: 0 !important;
    padding: 20px !important;
}

.catalog .col-lg-3 .card-body,
.catalog [class*="col-lg-3"] .card-body {
    padding: 0 !important;
}

.catalog .col-lg-3 h5,
.catalog .col-lg-3 .h5,
.catalog .col-lg-3 .card-title,
.catalog [class*="col-lg-3"] h5 {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
    font-size: 16px !important;
    margin-bottom: 16px !important;
}

.catalog .col-lg-3 .form-control,
.catalog .col-lg-3 input[type="search"],
.catalog .col-lg-3 input[type="text"],
.catalog [class*="col-lg-3"] .form-control,
.catalog [class*="col-lg-3"] input[type="search"],
.catalog [class*="col-lg-3"] input[type="text"] {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 10px 14px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    width: 100% !important;
}

.catalog .col-lg-3 .form-control:focus,
.catalog .col-lg-3 input:focus,
.catalog [class*="col-lg-3"] .form-control:focus,
.catalog [class*="col-lg-3"] input:focus {
    border-color: #ff7b00 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.08) !important;
}

.catalog .col-lg-3 .form-control::placeholder,
.catalog [class*="col-lg-3"] .form-control::placeholder {
    color: rgba(179, 157, 219, 0.5) !important;
}

.catalog .col-lg-3 .btn,
.catalog [class*="col-lg-3"] .btn {
    background: #ff7b00 !important;
    border: none !important;
    color: #fff !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.3s !important;
}

.catalog .col-lg-3 .btn:hover,
.catalog [class*="col-lg-3"] .btn:hover {
    background: #fff !important;
    color: #1a0b2e !important;
}

.catalog .col-lg-3 label,
.catalog [class*="col-lg-3"] label,
.catalog label,
.catalog .form-label {
    color: #ff7b00 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.catalog .col-lg-3 .form-check-label,
.catalog [class*="col-lg-3"] .form-check-label {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 12px !important;
}

.catalog .col-lg-3 a,
.catalog [class*="col-lg-3"] a {
    color: #b39ddb !important;
    transition: color 0.3s !important;
}

.catalog .col-lg-3 a:hover,
.catalog [class*="col-lg-3"] a:hover {
    color: #ffb700 !important;
}

.catalog .col-lg-3 .list-group,
.catalog [class*="col-lg-3"] .list-group {
    border: none !important;
}

.catalog .col-lg-3 .list-group-item,
.catalog [class*="col-lg-3"] .list-group-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(67, 44, 122, 0.5) !important;
    color: #b39ddb !important;
    padding: 10px 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
}

.catalog .col-lg-3 .list-group-item:hover,
.catalog [class*="col-lg-3"] .list-group-item:hover {
    color: #ffb700 !important;
}

.catalog .col-lg-3 .list-group-item.active,
.catalog [class*="col-lg-3"] .list-group-item.active {
    background: rgba(255, 123, 0, 0.1) !important;
    color: #ff7b00 !important;
    border-color: rgba(255, 123, 0, 0.3) !important;
}

.catalog .col-lg-9,
.catalog .col-md-9,
.catalog [class*="col-lg-9"],
.catalog [class*="col-md-9"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.catalog .products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    .catalog .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 540px) {
    .catalog .products-grid {
        grid-template-columns: 1fr !important;
        max-width: 360px;
        margin: 0 auto;
    }
}

.catalog .row {
    margin: 0 !important;
}

.catalog select.form-select,
.catalog select {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 8px 12px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
}

.catalog input[type="search"],
.catalog input[type="text"] {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 8px 12px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
}

.catalog .product-card {
    background: transparent;
}

.catalog .product-card-image {
    background: #24123a;
    border: 1px solid #432c7a;
}

/* ── Bootstrap card overrides ── */
.psyche-main .card {
    background: rgba(45, 27, 78, 0.5) !important;
    border: 1px solid #432c7a !important;
    color: var(--text-primary, #f3e5ab) !important;
    border-radius: 0 !important;
}

.psyche-main .form-label,
.psyche-main label {
    color: #b39ddb !important;
}

.psyche-main .form-check-input {
    background-color: rgba(26, 11, 46, 0.7) !important;
    border-color: #432c7a !important;
}

.psyche-main .form-check-input:checked {
    background-color: #ff7b00 !important;
    border-color: #ff7b00 !important;
}

/* ── Product images in catalog ── */
.products-grid .product-card-visual img,
.catalog .product-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #24123a;
}

@media (max-width: 768px) {
    .catalog .col-lg-3 {
        display: none !important;
    }
}

/* ── Product detail material details ── */
.modal-details {
    margin-top: 40px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid #432c7a;
}

.detail-item strong {
    color: #b39ddb;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.detail-item span {
    color: #f3e5ab;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
}

/* ── Product Page — Bootstrap deep overrides ── */

/* Spotlight / image gallery */
.psyche-main .spotlight,
.psyche-main .d-block.overflow-auto.bg-light,
.psyche-main .spotlight-group .bg-light {
    background: #24123a !important;
    border: 1px solid #432c7a !important;
    border-radius: 0 !important;
}

/* All bg-light in product context */
.product-detail .bg-light,
.psyche-main .bg-light.rounded-3 {
    background: #24123a !important;
    border: 1px solid #432c7a !important;
    border-radius: 0 !important;
    color: #f3e5ab !important;
}

/* Round corners removal everywhere */
.psyche-main .rounded-3,
.psyche-main .rounded-2,
.psyche-main .rounded-1,
.psyche-main .rounded {
    border-radius: 0 !important;
}

/* Accordion (product description/details) */
.psyche-main .accordion,
.psyche-main .accordion-flat {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: #432c7a;
    border: none;
}

.psyche-main .accordion-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #432c7a !important;
    color: #f3e5ab !important;
}

.psyche-main .accordion-button {
    background: transparent !important;
    color: #f3e5ab !important;
    font-family: 'Yeseva One', serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 16px 0 !important;
}

.psyche-main .accordion-button:not(.collapsed) {
    color: #ffb700 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.psyche-main .accordion-button::after {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(0deg);
}

.psyche-main .accordion-button:focus {
    box-shadow: none !important;
}

.psyche-main .accordion-body {
    background: transparent !important;
    color: #b39ddb !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    padding: 0 0 16px 0 !important;
    border: none !important;
}

/* Product heading */
.psyche-main .h2.text-break,
.psyche-main h1.h2 {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
    font-size: clamp(24px, 3vw, 36px) !important;
}

/* Product price */
.psyche-main .fs-3 {
    font-family: 'Space Mono', monospace !important;
    color: #ff7b00 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

/* Text tertiary (breadcrumbs etc) */
.psyche-main .text-body-tertiary {
    color: #b39ddb !important;
}

/* Links */
.psyche-main .link-reset {
    color: #b39ddb !important;
    transition: color 0.3s;
}
.psyche-main .link-reset:hover {
    color: #ffb700 !important;
}

/* Bootstrap btn-primary */
.psyche-main .btn.btn-primary {
    background: #ff7b00 !important;
    border: none !important;
    color: #fff !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 14px 28px !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    transition: background 0.3s, transform 0.3s !important;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 90% 100%, 0% 100%);
}

.psyche-main .btn.btn-primary:hover {
    background: #fff !important;
    color: #1a0b2e !important;
    transform: translateY(-2px) !important;
}

/* Rating stars */
.psyche-main .sylius-rating {
    color: #432c7a !important;
}

.psyche-main .sylius-rating label {
    color: #432c7a !important;
}

/* Product detail container */
.product-detail .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.product-detail .container.mt-4.mb-5 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Row overrides */
.product-detail .row {
    margin: 0 !important;
    --bs-gutter-x: 2rem;
}

/* Form select in product page */
.product-detail .form-select,
.product-detail select {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 10px 14px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
}

/* Form control in product page */
.product-detail .form-control {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
}

.product-detail .form-control:focus,
.product-detail .form-select:focus {
    border-color: #ff7b00 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.08) !important;
}

/* Heading overrides */
.psyche-main .h5,
.psyche-main h5 {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
}

/* Product images */
.product-detail .img-fluid {
    border: 1px solid #432c7a;
    background: #24123a;
}

/* Table overrides */
.psyche-main .table {
    --bs-table-bg: transparent;
    --bs-table-color: #b39ddb;
    --bs-table-border-color: #432c7a;
    color: #b39ddb !important;
    border-color: #432c7a !important;
}

.psyche-main .table th {
    font-family: 'Space Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #b39ddb !important;
    border-color: #432c7a !important;
    background: transparent !important;
}

.psyche-main .table td {
    color: #f3e5ab !important;
    border-color: rgba(67, 44, 122, 0.5) !important;
    background: transparent !important;
    font-size: 13px !important;
}

/* Form label override for required marker */
.psyche-main .form-label.required::after {
    color: #ff7b00 !important;
}

/* fw-bold override */
.psyche-main .fw-bold {
    color: #f3e5ab !important;
}

/* Sticky top styling */
.product-detail .sticky-top {
    background: transparent !important;
}

/* mb/mt spacing fix for dark theme */
.product-detail .mb-6 {
    margin-bottom: 3rem !important;
}

/* Sylius loader */
.sylius-shop-loader {
    background: #1a0b2e !important;
}

.spinner-dots span,
.spinner-dot-1,
.spinner-dot-2,
.spinner-dot-3 {
    background: #ff7b00 !important;
}

/* Related products section in product detail */
.product-detail .products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

/* Reviews */
.psyche-main .review,
.psyche-main [class*="review"] {
    border-color: #432c7a !important;
    color: #b39ddb !important;
}

/* Remove white bg from all nested elements */
.psyche-main [style*="background-color: white"],
.psyche-main [style*="background-color: #fff"],
.psyche-main [style*="background: white"],
.psyche-main [style*="background: #fff"] {
    background-color: transparent !important;
    background: transparent !important;
}

/* ── Hide coupon / promo code from cart ── */
.psyche-main [name*="promotionCoupon"],
.psyche-main label[for*="promotionCoupon"],
.psyche-main [data-test-promotion-coupon],
.psyche-main .promotion-coupon,
.cart-form [name*="promotionCoupon"],
.cart-form label[for*="promotionCoupon"] {
    display: none !important;
}

/* Hide promotion coupon input group in cart live component */
.psychecloth-body [id*="promotionCoupon"],
.psychecloth-body label[for*="promotionCoupon"],
.psychecloth-body [name*="promotionCoupon"] {
    display: none !important;
}

/* Also hide any parent wrapper that only contains the coupon */
.psychecloth-body .promotion-coupon-container,
.psychecloth-body [data-test-promotion-coupon] {
    display: none !important;
}

/* ── Hide review button and review section ── */
.psyche-main a[href*="/reviews/new"],
.psyche-main [data-test-add-review],
.psychecloth-body a[href*="/reviews/new"] {
    display: none !important;
}

/* Hide review count/rating if empty */
.psyche-main [data-test-average-rating],
.psyche-main .sylius-product-rating-widget {
    display: none !important;
}

/* ── Catalog search/filter bar redesign ── */
.catalog .row.flex-column.flex-md-row,
.catalog .row.mt-5 > .col-12.col-lg-9 .row.flex-column {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    margin-bottom: 32px !important;
    padding: 20px 24px !important;
    background: rgba(45, 27, 78, 0.4) !important;
    border: 1px solid #432c7a !important;
}

.catalog .input-group {
    display: flex !important;
    gap: 0 !important;
}

.catalog .form-control-sm.form-control,
.catalog .form-control-sm,
.catalog input.form-control {
    background: rgba(26, 11, 46, 0.8) !important;
    border: 1px solid #432c7a !important;
    border-right: none !important;
    color: #f3e5ab !important;
    padding: 10px 16px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    height: auto !important;
    min-height: 40px !important;
}

.catalog .form-control-sm.form-control::placeholder,
.catalog .form-control-sm::placeholder,
.catalog input.form-control::placeholder {
    color: rgba(179, 157, 219, 0.4) !important;
}

.catalog .form-control-sm.form-control:focus,
.catalog input.form-control:focus {
    border-color: #ff7b00 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.08) !important;
}

.catalog .btn-outline-secondary,
.catalog .btn.btn-sm,
.catalog .input-group .btn {
    background: rgba(45, 27, 78, 0.6) !important;
    border: 1px solid #432c7a !important;
    color: #b39ddb !important;
    padding: 8px 14px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
    cursor: pointer;
}

.catalog .btn-outline-secondary:hover,
.catalog .btn.btn-sm:hover,
.catalog .input-group .btn:hover {
    background: rgba(255, 123, 0, 0.15) !important;
    border-color: #ff7b00 !important;
    color: #ff7b00 !important;
}

.catalog .btn-outline-secondary svg,
.catalog .btn.btn-sm svg,
.catalog .input-group .btn svg {
    width: 16px !important;
    height: 16px !important;
}

.catalog .icon {
    width: 16px;
    height: 16px;
    display: block;
}

/* Dropdown toggle in filters (limit/sort) */
.catalog .dropdown-toggle {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #b39ddb !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    min-height: 40px !important;
}

.catalog .dropdown-toggle:hover,
.catalog .dropdown-toggle:focus {
    border-color: #ff7b00 !important;
    color: #ff7b00 !important;
}

.catalog .dropdown-menu {
    background: #2d1b4e !important;
    border: 1px solid #432c7a !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
}

.catalog .dropdown-item {
    color: #b39ddb !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    padding: 8px 16px !important;
    transition: all 0.2s !important;
}

.catalog .dropdown-item:hover,
.catalog .dropdown-item:focus {
    background: rgba(255, 123, 0, 0.1) !important;
    color: #ff7b00 !important;
}

.catalog .dropdown-item.active,
.catalog .dropdown-item:active {
    background: rgba(255, 123, 0, 0.15) !important;
    color: #ff7b00 !important;
}

/* Sidebar taxonomy on category pages */
.catalog .col-12.col-lg-3 {
    margin-bottom: 24px;
}

.catalog .col-12.col-lg-3 .d-flex.flex-column a {
    display: block !important;
    padding: 8px 0 !important;
    color: #b39ddb !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    border-bottom: 1px solid rgba(67, 44, 122, 0.3) !important;
    transition: color 0.3s !important;
}

.catalog .col-12.col-lg-3 .d-flex.flex-column a:hover {
    color: #ffb700 !important;
}

/* Category header area */
.catalog .mb-4 h1,
.catalog .mb-4 .h1 {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
}

/* Space between filters and product grid */
.catalog .col-12.col-lg-9 > .row:last-child {
    margin-top: 8px !important;
}

/* Global body-level overrides for Bootstrap */
.psychecloth-body {
    --bs-body-bg: #1a0b2e;
    --bs-body-color: #f3e5ab;
    --bs-border-color: #432c7a;
    --bs-tertiary-color: #b39ddb;
    --bs-tertiary-bg: rgba(45, 27, 78, 0.5);
    --bs-light-bg-subtle: #24123a;
    --bs-body-bg-rgb: 26, 11, 46;
    --bs-light-rgb: 36, 18, 58;
    --bs-secondary-bg: #2d1b4e;
    --bs-primary: #ff7b00;
    --bs-primary-rgb: 255, 123, 0;
    --bs-link-color: #ff7b00;
    --bs-link-hover-color: #ffb700;
}

/* ══════════════════════════════════════════════
   CHECKOUT FLOW — Full Dark Theme Redesign
   ══════════════════════════════════════════════ */

.checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px clamp(20px, 4vw, 48px) 48px;
}

/* ── Step indicators ── */
.checkout-steps-bar {
    margin-bottom: 48px;
}

/* Hide Sylius default stepper completely */
.steps {
    display: none !important;
}

/* ═══════════════════════════════════════
   PSYCHE STEPPER — Cosmic Journey
   ═══════════════════════════════════════ */

.psyche-stepper {
    padding: 0 0 8px;
}

.psyche-stepper-track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Individual step ── */
.psyche-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
}

/* ── Connector lines between steps ── */
.psyche-step-connector {
    position: absolute;
    right: calc(50% + 22px);
    left: calc(-50% + 22px);
    top: 20px;
    height: 4px;
    display: flex;
    align-items: center;
    z-index: 0;
}

.psyche-connector-svg {
    flex: 1;
    height: 4px;
    overflow: visible;
}

.psyche-connector-svg line {
    stroke: #432c7a;
    transition: stroke 0.5s;
}

.psyche-connector-svg line:nth-child(2) {
    stroke: #b39ddb;
}

.psyche-connector-arrow {
    flex-shrink: 0;
    margin-left: 2px;
    stroke: #432c7a;
    transition: stroke 0.5s, opacity 0.5s;
    opacity: 0.4;
}

/* Completed / active connectors glow */
.psyche-step--completed .psyche-connector-svg line:first-child,
.psyche-step--active .psyche-connector-svg line:first-child {
    stroke: rgba(179, 157, 219, 0.25);
}

.psyche-step--completed .psyche-connector-arrow,
.psyche-step--active .psyche-connector-arrow {
    stroke: #ff7b00;
    opacity: 1;
}

/* ── Step node (the circle) ── */
.psyche-step-node {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.psyche-step-ring {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #432c7a;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a0b2e;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.psyche-step-num {
    font-family: 'Yeseva One', serif;
    font-size: 15px;
    color: rgba(179, 157, 219, 0.25);
    transition: all 0.5s;
    line-height: 1;
}

/* ── Completed step ── */
.psyche-step--completed .psyche-step-ring {
    border-color: #b39ddb;
    background: rgba(179, 157, 219, 0.08);
}

.psyche-step--completed .psyche-step-num {
    opacity: 0;
}

.psyche-step-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    stroke: #b39ddb;
    z-index: 3;
}

/* ── Active step — the star of the show ── */
.psyche-step--active .psyche-step-ring {
    border-color: #ff7b00;
    background: rgba(255, 123, 0, 0.08);
    box-shadow:
        0 0 16px rgba(255, 123, 0, 0.2),
        0 0 40px rgba(255, 123, 0, 0.06);
    animation: psychePulse 2.8s ease-in-out infinite;
}

.psyche-step--active .psyche-step-num {
    color: #ff7b00;
}

@keyframes psychePulse {
    0%, 100% {
        box-shadow:
            0 0 16px rgba(255, 123, 0, 0.15),
            0 0 40px rgba(255, 123, 0, 0.04);
    }
    50% {
        box-shadow:
            0 0 22px rgba(255, 123, 0, 0.3),
            0 0 56px rgba(255, 123, 0, 0.1);
    }
}

/* Outer ring animation for active */
.psyche-step--active .psyche-step-ring::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 123, 0, 0.15);
    animation: psycheRingExpand 2.8s ease-in-out infinite;
}

@keyframes psycheRingExpand {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.12);
        opacity: 0;
    }
}

/* ── Disabled step ── */
.psyche-step--disabled .psyche-step-ring {
    border-color: rgba(67, 44, 122, 0.5);
    background: rgba(26, 11, 46, 0.5);
}

.psyche-step--disabled .psyche-step-num {
    color: rgba(179, 157, 219, 0.15);
}

/* ── Step labels ── */
.psyche-step-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

a.psyche-step-label {
    cursor: pointer;
}

.psyche-step--active .psyche-step-label {
    color: #ff7b00;
}

.psyche-step--completed .psyche-step-label {
    color: #b39ddb;
}

.psyche-step--completed a.psyche-step-label:hover {
    color: #ffb700;
}

.psyche-step--disabled .psyche-step-label {
    color: rgba(179, 157, 219, 0.2);
}

/* ── Tablet ── */
@media (max-width: 600px) {
    .psyche-step-node {
        width: 36px;
        height: 36px;
    }
    .psyche-step-ring {
        width: 36px;
        height: 36px;
    }
    .psyche-step-num {
        font-size: 13px;
    }
    .psyche-step-label {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
    .psyche-step-connector {
        right: calc(50% + 19px);
        left: calc(-50% + 19px);
        top: 17px;
    }
    .psyche-connector-arrow {
        display: none;
    }
}

/* ── Mobile ── */
@media (max-width: 400px) {
    .psyche-step-node {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }
    .psyche-step-ring {
        width: 30px;
        height: 30px;
    }
    .psyche-step-num {
        font-size: 11px;
    }
    .psyche-step-label {
        font-size: 7px;
        letter-spacing: 0.06em;
    }
    .psyche-step-connector {
        right: calc(50% + 16px);
        left: calc(-50% + 16px);
        top: 14px;
    }
    .psyche-step--active .psyche-step-ring::before {
        display: none;
    }
}

/* ── Layout: content + sidebar ── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

/* Remove stray hrs from checkout */
.checkout-wrapper hr {
    display: none !important;
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Checkout content area ── */
.checkout-content {
    min-width: 0;
}

.checkout-content .container {
    padding: 0 !important;
    max-width: none !important;
}

.checkout-content .row {
    margin: 0 !important;
}

.checkout-content .col,
.checkout-content [class*="col-"] {
    padding: 0 !important;
}

/* ── Sidebar summary ── */
.checkout-sidebar {
    background: rgba(45, 27, 78, 0.4);
    border: 1px solid #432c7a;
    padding: 32px;
    position: sticky;
    top: 100px;
    margin-top: 0;
}

.checkout-sidebar .col-12,
.checkout-sidebar .col-lg-5,
.checkout-sidebar .container,
.checkout-sidebar .checkout-sidebar {
    padding: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border: none !important;
}

.checkout-sidebar h2,
.checkout-sidebar h3,
.checkout-sidebar h4,
.checkout-sidebar .h4,
.checkout-sidebar .h5 {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #432c7a;
}

/* Summary tables */
.checkout-sidebar table,
.checkout-sidebar .table {
    width: 100%;
    border-collapse: collapse;
    background: transparent !important;
    color: #f3e5ab !important;
    --bs-table-bg: transparent;
    --bs-table-color: #f3e5ab;
}

.checkout-sidebar table tr {
    border-bottom: 1px solid rgba(67, 44, 122, 0.3);
}

.checkout-sidebar table td,
.checkout-sidebar table th {
    padding: 10px 0 !important;
    background: transparent !important;
    color: #b39ddb !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    border: none !important;
    vertical-align: middle;
}

.checkout-sidebar table td:last-child,
.checkout-sidebar table th:last-child {
    text-align: right;
    color: #f3e5ab !important;
}

/* Items in summary */
.checkout-sidebar table .fw-bold,
.checkout-sidebar table strong,
.checkout-sidebar table b {
    color: #f3e5ab !important;
    font-weight: 400 !important;
}

/* Total row */
.checkout-sidebar .table-borderless tr:last-child td {
    padding-top: 16px !important;
    font-size: 14px !important;
    color: #ff7b00 !important;
    font-weight: 700 !important;
    border-top: 1px solid #432c7a !important;
}

/* ── Checkout form elements ── */
.checkout-wrapper label,
.checkout-wrapper .form-label {
    color: #ff7b00 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

.checkout-wrapper .form-control,
.checkout-wrapper input[type="text"],
.checkout-wrapper input[type="email"],
.checkout-wrapper input[type="tel"],
.checkout-wrapper input[type="password"],
.checkout-wrapper input[type="number"],
.checkout-wrapper textarea,
.checkout-wrapper select,
.checkout-wrapper .form-select {
    background: rgba(26, 11, 46, 0.7) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    padding: 12px 16px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 13px !important;
    transition: border-color 0.3s !important;
}

.checkout-wrapper .form-control:focus,
.checkout-wrapper input:focus,
.checkout-wrapper select:focus,
.checkout-wrapper textarea:focus {
    border-color: #ff7b00 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.08) !important;
    background: rgba(26, 11, 46, 0.9) !important;
}

.checkout-wrapper .form-control::placeholder,
.checkout-wrapper input::placeholder {
    color: rgba(179, 157, 219, 0.4) !important;
}

.checkout-wrapper .form-check-input {
    background-color: rgba(26, 11, 46, 0.7) !important;
    border-color: #432c7a !important;
}

.checkout-wrapper .form-check-input:checked {
    background-color: #ff7b00 !important;
    border-color: #ff7b00 !important;
}

.checkout-wrapper .form-check-label {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 13px !important;
    color: #b39ddb !important;
}

/* ── Headings inside checkout ── */
.checkout-content h1,
.checkout-content h2,
.checkout-content h3,
.checkout-content h4,
.checkout-content .h1,
.checkout-content .h2,
.checkout-content .h3,
.checkout-content .h4 {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
}

.checkout-content h2,
.checkout-content .h2 {
    font-size: 28px !important;
    margin-bottom: 24px !important;
}

.checkout-content h3,
.checkout-content .h3,
.checkout-content h4,
.checkout-content .h4 {
    font-size: 18px !important;
    margin-bottom: 16px !important;
}

/* ── Cards / sections inside checkout ── */
.checkout-content .card {
    background: rgba(45, 27, 78, 0.3) !important;
    border: 1px solid #432c7a !important;
    border-radius: 0 !important;
    color: #f3e5ab !important;
}

.checkout-content .card-header,
.checkout-content .card-body,
.checkout-content .card-footer {
    background: transparent !important;
    border-color: #432c7a !important;
    color: #f3e5ab !important;
}

/* ── Buttons ── */
.checkout-wrapper .btn-primary,
.checkout-wrapper .btn[type="submit"],
.checkout-wrapper button[type="submit"] {
    background: #ff7b00 !important;
    border: 1px solid #ff7b00 !important;
    color: #1a0b2e !important;
    padding: 14px 32px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    cursor: pointer;
}

.checkout-wrapper .btn-primary:hover,
.checkout-wrapper .btn[type="submit"]:hover,
.checkout-wrapper button[type="submit"]:hover {
    background: #ffb700 !important;
    border-color: #ffb700 !important;
}

.checkout-wrapper .btn-outline-secondary,
.checkout-wrapper .btn-secondary,
.checkout-wrapper .btn-outline-primary {
    background: transparent !important;
    border: 1px solid #432c7a !important;
    color: #b39ddb !important;
    padding: 14px 32px !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    transition: all 0.3s !important;
    cursor: pointer;
}

.checkout-wrapper .btn-outline-secondary:hover,
.checkout-wrapper .btn-secondary:hover,
.checkout-wrapper .btn-outline-primary:hover {
    border-color: #ff7b00 !important;
    color: #ff7b00 !important;
}

/* ── Links ── */
.checkout-wrapper a {
    color: #ff7b00;
    transition: color 0.3s;
}

.checkout-wrapper a:hover {
    color: #ffb700;
}

/* ── Bootstrap overrides for dark checkout ── */
.checkout-wrapper .bg-white,
.checkout-wrapper .bg-light {
    background: transparent !important;
}

.checkout-wrapper .text-dark,
.checkout-wrapper .text-black,
.checkout-wrapper .text-body {
    color: #f3e5ab !important;
}

.checkout-wrapper .text-muted,
.checkout-wrapper .text-secondary {
    color: #b39ddb !important;
}

.checkout-wrapper .border,
.checkout-wrapper .border-bottom,
.checkout-wrapper .border-top {
    border-color: #432c7a !important;
}

.checkout-wrapper hr {
    border-color: #432c7a;
    opacity: 0.5;
}

/* ── Shipping / Payment method radio choices (not regular checkboxes) ── */
.checkout-wrapper .form-check:has(input[type="radio"]) {
    padding: 16px 20px;
    margin-bottom: 8px;
    border: 1px solid #432c7a;
    background: rgba(45, 27, 78, 0.2);
    transition: all 0.3s;
}

.checkout-wrapper .form-check:has(input[type="radio"]):hover {
    border-color: rgba(255, 123, 0, 0.3);
    background: rgba(45, 27, 78, 0.4);
}

.checkout-wrapper .form-check:has(input[type="radio"]):has(.form-check-input:checked) {
    border-color: #ff7b00;
    background: rgba(255, 123, 0, 0.06);
}

/* Regular checkboxes in checkout */
.checkout-wrapper .form-check:has(input[type="checkbox"]) {
    padding: 12px 0;
    margin-top: 8px;
}

/* ── Tables inside checkout content (complete step) ── */
.checkout-content table,
.checkout-content .table {
    width: 100%;
    background: transparent !important;
    color: #f3e5ab !important;
    --bs-table-bg: transparent;
    --bs-table-color: #f3e5ab;
    --bs-table-striped-bg: rgba(45, 27, 78, 0.3);
    --bs-table-hover-bg: rgba(45, 27, 78, 0.5);
}

.checkout-content table td,
.checkout-content table th {
    background: transparent !important;
    color: #b39ddb !important;
    border-color: rgba(67, 44, 122, 0.4) !important;
    padding: 12px 8px !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
}

.checkout-content table th {
    color: #ff7b00 !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

/* ── Address display ── */
.checkout-wrapper address,
.checkout-wrapper .address {
    color: #b39ddb !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
}

/* ── Alert / notification boxes ── */
.checkout-wrapper .alert {
    background: rgba(45, 27, 78, 0.4) !important;
    border: 1px solid #432c7a !important;
    color: #f3e5ab !important;
    border-radius: 0 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
}

.checkout-wrapper .alert-info {
    border-color: rgba(255, 123, 0, 0.3) !important;
}

.checkout-wrapper .alert-danger {
    border-color: rgba(220, 53, 69, 0.5) !important;
}

/* ── Accordion in checkout ── */
.checkout-wrapper .accordion-item {
    background: transparent !important;
    border-color: #432c7a !important;
}

.checkout-wrapper .accordion-button {
    background: rgba(45, 27, 78, 0.3) !important;
    color: #f3e5ab !important;
    border-radius: 0 !important;
}

.checkout-wrapper .accordion-button:not(.collapsed) {
    background: rgba(255, 123, 0, 0.06) !important;
    color: #ff7b00 !important;
}

.checkout-wrapper .accordion-body {
    background: transparent !important;
    color: #b39ddb !important;
}

/* ── Mobile checkout ── */
@media (max-width: 992px) {
    .checkout-wrapper {
        padding-top: 120px;
    }

    .checkout-sidebar {
        order: -1;
        position: static;
    }

}

/* ── Sylius checkout header override (remove white bg) ── */
.checkout-wrapper .bg-white.border-bottom,
.checkout-wrapper .py-4 {
    background: transparent !important;
    border: none !important;
}

.checkout-steps-bar hr,
.checkout-steps-bar + hr,
.checkout-content > hr,
.checkout-wrapper > .container > hr {
    display: none !important;
}

/* "Billing address" / "Shipping address" subheadings */
.checkout-content h5,
.checkout-content .h5,
.checkout-content legend {
    font-family: 'Yeseva One', serif !important;
    font-weight: 400 !important;
    color: #f3e5ab !important;
    font-size: 16px !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

/* Sylius checkout inner wrappers cleanup */
.checkout-content .d-flex.flex-column.min-vh-100,
.checkout-content .flex-grow-1 {
    min-height: auto !important;
    display: block !important;
}

/* ── Fix Sylius default body class overrides ── */
.checkout-wrapper .min-vh-100 {
    min-height: auto !important;
}

.checkout-wrapper .d-flex.flex-column.min-vh-100 {
    display: block !important;
}

/* ── Complete / summary step specific ── */
.checkout-content .checkout-sidebar {
    background: rgba(45, 27, 78, 0.4);
    border: 1px solid #432c7a;
    padding: 32px;
}

/* Image thumbnails in summary */
.checkout-sidebar img,
.checkout-content img {
    border-radius: 0 !important;
    border: 1px solid #432c7a;
}

/* ── Order pages (thank you, order detail) ── */
.psyche-main .table,
.psyche-main table {
    --bs-table-bg: transparent;
    --bs-table-color: #f3e5ab;
    --bs-table-striped-bg: rgba(45, 27, 78, 0.3);
    --bs-table-hover-bg: rgba(45, 27, 78, 0.5);
    --bs-table-border-color: rgba(67, 44, 122, 0.4);
    color: #f3e5ab !important;
    background: transparent !important;
}

.psyche-main table td,
.psyche-main table th {
    background: transparent !important;
    color: #b39ddb !important;
    border-color: rgba(67, 44, 122, 0.4) !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
}

.psyche-main table th {
    color: #ff7b00 !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.psyche-main table tfoot td,
.psyche-main table tfoot th {
    border-top: 1px solid #432c7a !important;
    color: #ff7b00 !important;
    font-weight: 700 !important;
}

/* Hide review rating stars — reviews are disabled in this theme */
.sylius-rating { display: none !important; }
/* Safety net: default Sylius icon sizing (theme doesn't ship Bootstrap) */
svg.icon { width: 1.25rem; height: 1.25rem; }
svg.icon-sm { width: 1rem; height: 1rem; }
