/* Ideal Drawers - shared customer portal design system */
:root {
  --primary: #173f6b;
  --primary-light: #2d5f8f;
  --primary-dark: #102e50;
  --secondary: #c65a1e;
  --secondary-light: #e0783a;
  --secondary-dark: #963f12;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --ink: #102033;
  --muted: #627287;
  --line: #dbe4ee;
  --line-strong: #c4d2df;
  --success: #24765d;
  --danger: #b84242;
  --shadow-sm: 0 8px 20px rgba(16, 46, 80, .06);
  --shadow-md: 0 18px 42px rgba(16, 46, 80, .10);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

body#product_details_sticky {
  background: var(--canvas);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
}

body#product_details_sticky .container { max-width: 1320px; }
body#product_details_sticky a { color: inherit; }

/* Shared top bar */
.header-modern {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16,46,80,.03);
}
.header-inner { padding: .72rem 0; }
.brand-logo-img { max-height: 42px; }
.cart-icon-btn, .user-profile-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  box-shadow: none;
}
.cart-icon-btn { background: var(--surface-alt); border-color: transparent; color: var(--primary); }
.cart-icon-btn:hover { background: var(--primary); border-color: var(--primary); transform: none; }
.user-profile-btn { background: var(--primary); }
.cart-count-badge { background: var(--secondary); border-color: var(--surface); }
.profile-dropdown-menu { border-radius: var(--radius-md); border-color: var(--line); box-shadow: var(--shadow-md); }
.header-modern { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); }
.header-inner { padding: .6rem 0; }.header-workspace-bar { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.header-brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }.brand-logo-img { width: 66px; max-height: 45px; object-fit: contain; }.header-brand-context { padding-left: 1rem; color: var(--muted); border-left: 1px solid var(--line); font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .075em; }.header-actions { display: flex; align-items: center; gap: .65rem; }.cart-icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }.cart-icon-btn:hover { background: var(--surface-alt); color: var(--primary); border-color: var(--line-strong); box-shadow: none; }.cart-count-badge { top: -7px; right: -7px; min-width: 18px; height: 18px; font-size: .62rem; }.user-profile-btn { width: auto; min-height: 40px; padding: 4px 9px 4px 5px; gap: .55rem; border-radius: 6px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }.user-profile-btn::after { display: none; }.user-profile-btn:hover, .user-profile-btn:focus { background: var(--surface-alt); color: var(--ink); transform: none; box-shadow: none; }.user-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: var(--primary); color: #fff; font-size: .72rem; }.user-profile-copy { flex-direction: column; align-items: flex-start; line-height: 1.1; }.user-profile-copy small { color: var(--muted); font-size: .59rem; }.user-profile-copy strong { color: var(--ink); font-size: .72rem; }.user-chevron { color: var(--muted); font-size: .58rem; }.header-auth-link, .header-auth-cta { padding: .55rem .8rem; color: var(--primary); border-radius: 5px; font-size: .73rem; font-weight: 750; text-decoration: none; }.header-auth-cta { background: var(--primary); color: #fff; }.header-mobile-menu { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 5px; color: var(--primary); background: #fff; }

/* Breadcrumb and reusable portal elements */
.custom-breadcrumb { margin-top: 0 !important; display: inline-flex; background: #fff !important; padding: .55rem .7rem !important; border: 1px solid var(--line); border-radius: 5px; box-shadow: none !important; }
.custom-breadcrumb .breadcrumb { background: transparent !important; align-items: center; }
.custom-breadcrumb .breadcrumb-item, .custom-breadcrumb .breadcrumb-item a { color: var(--muted); font-size: .72rem; font-weight: 650; }
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #9aabbc; }
.custom-breadcrumb .breadcrumb-item.active .bredcrumblastitem { color: var(--primary) !important; }
.btn-primary, .modern-btn-primary, .btn-place-order, .btn-checkout-modern {
  background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important; box-shadow: 0 7px 14px rgba(23,63,107,.16) !important;
}
.btn-primary:hover, .modern-btn-primary:hover, .btn-place-order:hover, .btn-checkout-modern:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

/* Category catalogue */
.cart-header, .cart-header-modern { padding: 1.2rem 0 .55rem; margin: 0 !important; background: transparent; border: 0; }
.category { padding: 1rem 0 4rem; }
.category .row > .col-sm-12 { gap: 1.4rem; }
.categorymenu { flex: 0 0 252px; max-width: 252px; }
.compact-category-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 76px; }
.category-header { padding: 1.1rem 1.15rem; background: var(--primary); color: #fff; }
.category-header h4 { margin: 0; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.category-header h4 i { color: #f0b18b; margin-right: .55rem; }
.category-list { padding: .45rem; }
.category-item, .subcategory-item { display: flex; align-items: center; gap: .75rem; min-height: 43px; padding: .65rem .75rem; color: var(--ink); text-decoration: none; border-radius: 5px; font-size: .82rem; font-weight: 600; }
.category-item > i:first-child { width: 15px; color: var(--primary-light); }
.category-item .arrow { margin-left: auto; color: var(--muted); font-size: .72rem; transition: transform .2s ease; }
.category-item:hover { color: var(--primary); background: var(--surface-alt); }
.category-item.active { color: var(--primary); background: #e4edf6; }
.category-item.active::before { content: ''; width: 3px; height: 22px; margin-left: -8px; background: var(--secondary); border-radius: 2px; }
.subcategory-dropdown { display: none; margin: .1rem 0 .35rem 1.1rem; padding-left: .45rem; border-left: 1px solid var(--line); }
.subcategory-dropdown.show { display: block; }
.subcategory-item { min-height: 35px; padding: .45rem .65rem; color: var(--muted); font-size: .75rem; }
.subcategory-item i { color: var(--secondary); font-size: .65rem; }
.subcategory-item.active, .subcategory-item:hover { color: var(--primary); background: #f3f7fb; }
.product-grid { min-width: 0; }
.product-grid::before { content: 'Browse the collection'; display: block; color: var(--primary); font-size: 1.5rem; font-weight: 750; margin: -.2rem 0 .3rem; }
.product-grid::after { content: 'Choose a product to configure dimensions, material and details.'; display: block; color: var(--muted); font-size: .78rem; margin-bottom: 1.25rem; }
.product-grid .grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 3px 10px rgba(16,46,80,.035); overflow: hidden; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #aabfd2; box-shadow: var(--shadow-md); }
.product-image-container { padding: .6rem; background: #f7f9fc; }
.product-image-wrapper { position: relative; aspect-ratio: 1.32; overflow: hidden; background: #fff; border-radius: 5px; }
.product-image { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-image { transform: scale(1.04); }
.product-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: .6rem; pointer-events: none; }
.quick-view-btn { width: 33px; height: 33px; border: 0; color: #fff; background: var(--primary); border-radius: 50%; opacity: 0; transform: translateY(6px); transition: .2s ease; pointer-events: auto; }
.product-card:hover .quick-view-btn { opacity: 1; transform: translateY(0); }
.product-details { padding: .85rem .85rem .8rem; border-top: 1px solid var(--line); }
.product-title { min-height: 2.1em; margin: 0; color: var(--ink); font-size: .76rem; line-height: 1.38; font-weight: 750; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .45rem; margin-top: .65rem; color: var(--muted); font-size: .62rem; line-height: 1.2; }.product-card-arrow { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e8eff7; color: var(--primary); transition: .2s ease; }.product-card:hover .product-card-arrow { background: var(--primary); color: #fff; transform: translateX(2px); }
.no-products { min-height: 330px; display: grid; place-content: center; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); }
.category-showcase { position: relative; display: flex; align-items: stretch; min-height: 255px; margin-bottom: 2rem; overflow: hidden; background: var(--primary); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }.category-showcase::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(13,33,57,.96) 0%, rgba(16,46,80,.84) 38%, rgba(16,46,80,.15) 76%, rgba(16,46,80,.55) 100%); }.category-showcase-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.category-showcase-copy { position: relative; z-index: 1; width: min(58%, 480px); padding: 2.25rem 2.4rem; color: #fff; }.category-showcase-copy > span { color: #f0b18b; font-size: .67rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }.category-showcase-copy h1 { max-width: 310px; margin: .55rem 0 .7rem; color: #fff; font-size: 2rem; font-weight: 750; line-height: 1.08; }.category-showcase-copy p { max-width: 330px; margin: 0 0 1.35rem; color: rgba(255,255,255,.78); font-size: .77rem; line-height: 1.65; }.category-showcase-link { display: inline-flex; align-items: center; gap: .55rem; color: #fff !important; font-size: .75rem; font-weight: 750; text-decoration: none; }.category-showcase-link i { transition: transform .2s ease; }.category-showcase-link:hover i { transform: translateX(3px); }.category-showcase-values { position: relative; z-index: 1; margin-left: auto; width: 145px; flex-direction: column; justify-content: center; gap: 1rem; padding: 1.5rem; color: #fff; border-left: 1px solid rgba(255,255,255,.22); }.category-showcase-values span { display: grid; grid-template-columns: 24px 1fr; align-items: center; column-gap: .55rem; color: rgba(255,255,255,.84); font-size: .68rem; font-weight: 650; line-height: 1.3; text-transform: uppercase; }.category-showcase-values i { color: #f0b18b; font-size: 1.05rem; }

/* Product configurator workspace */
.bread_desktop_part { padding-top: 1.15rem; }
.product-section { margin-bottom: 2rem; }
.product-main-box, .product-config-box, .cart-table-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.product-main-box { padding: 1.15rem; }
.product-title { color: var(--primary); letter-spacing: 0; }
.product-info .product-title { margin-bottom: 1rem; font-size: 1.55rem; line-height: 1.2; }
.modern-featured-image { height: 350px; background: #f6f8fb; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.modern-featured-image .featured-image { width: 100%; height: 100%; object-fit: contain; }
.zoom-overlay { background: rgba(16,46,80,.8) !important; border-radius: 5px; }
.modern-thumbnail-gallery { padding: .75rem 2rem 0 !important; }
.modern-thumb { width: 58px; height: 58px; padding: 3px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.modern-thumb.active, .active-img { border: 2px solid var(--secondary) !important; }
.thumbnail-image { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { color: var(--primary); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.product-config-box { overflow: hidden; }
.attributes-section { padding: 1.25rem !important; background: transparent !important; }
.attributes-title { margin: 0 0 1.2rem; color: var(--primary); font-size: 1rem; font-weight: 750; }
.attributes-title::after { content: 'Set the product specifications'; display: block; color: var(--muted); font-size: .72rem; font-weight: 500; margin-top: .35rem; }
.attributes-grid { gap: .75rem !important; }
.attribute-card { background: #f8fafc !important; border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important; padding: .85rem !important; box-shadow: none !important; }
.attribute-header { gap: .55rem; }
.attribute-image { width: 28px !important; height: 28px !important; object-fit: contain; }
.attribute-label { margin: 0 !important; color: var(--ink) !important; font-size: .76rem !important; font-weight: 700 !important; }
.attribute-input, .product-config-box .form-control, .cart-table-section .form-control, .cart-table-section select { height: 39px !important; border: 1px solid var(--line-strong) !important; border-radius: 4px !important; background: #fff !important; box-shadow: none !important; font-size: .8rem; }
.attribute-input:focus, .product-config-box .form-control:focus, .cart-table-section .form-control:focus { border-color: var(--primary-light) !important; box-shadow: 0 0 0 3px rgba(45,95,143,.11) !important; }
.attribute-checkbox { padding-top: .5rem; }
.form-check-input:checked { background-color: var(--primary) !important; border-color: var(--primary) !important; }
.cart-table-section { padding: 1.1rem; }
.cart-table { border-collapse: separate; border-spacing: 0; width: 100%; overflow: hidden; }
.cart-table thead th { padding: .75rem; color: var(--muted); background: #f1f5f9; border-bottom: 1px solid var(--line); font-size: .67rem; letter-spacing: .055em; text-transform: uppercase; }
.cart-table tbody td { padding: .8rem !important; border-bottom: 1px solid var(--line) !important; }
.cart-table .cart-item td { background: #fff; }
.cart-table .attribute-item { margin-bottom: .65rem; }
.cart-table .attribute-item label { min-height: auto; font-size: .7rem; color: var(--muted); }
.priceoverride, .p_subtotal, .gtotal { color: var(--primary) !important; font-weight: 750; }
.remove-item, .copyRowBtn { width: 32px; height: 32px; border: 1px solid var(--line) !important; border-radius: 4px; background: #fff !important; color: var(--muted) !important; }
.remove-item:hover { color: var(--danger) !important; border-color: #e6b8b8 !important; }
.copyRowBtn:hover { color: var(--primary) !important; border-color: var(--primary-light) !important; }
.add-row-btn { display: inline-flex; gap: .4rem; align-items: center; padding: .5rem .7rem; color: var(--primary); font-size: .75rem; font-weight: 700; text-decoration: none; }
.totals-row td { background: #edf4f9 !important; font-weight: 700; }
.special-comment-field { border: 1px solid var(--line-strong) !important; border-radius: var(--radius-sm) !important; }
.product-page-instance { margin-bottom: 1.75rem !important; padding-bottom: 1.75rem !important; border-bottom: 1px solid var(--line) !important; }
.remove-instance-btn { border-radius: 4px !important; box-shadow: none !important; }
#duplicate-product-btn { background: #fff !important; color: var(--primary) !important; border: 1px solid var(--primary) !important; border-radius: 4px !important; box-shadow: none !important; font-size: .8rem !important; }
#duplicate-product-btn:hover { background: var(--primary) !important; color: #fff !important; transform: none !important; }
.floating-cart { background: var(--primary) !important; border-radius: var(--radius-md) 0 0 var(--radius-md) !important; box-shadow: var(--shadow-md) !important; }
.cart-summary-header { border-color: rgba(255,255,255,.18) !important; }
.cart-summary-title, .cart-total-label, .cart-total-amount { color: #fff !important; }
.floating-cart .add-to-cart-btn { background: var(--secondary) !important; border-radius: 4px !important; }

/* Cart and shipping */
.cart-row, .address-section { padding-top: .75rem; min-height: 64vh; }.cart-item-box-header { padding: .85rem 1.1rem; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-size: .7rem; letter-spacing: .055em; }
.cart-item-box { display: flex !important; align-items: center; gap: 1rem; border: 1px solid var(--line); border-left: 3px solid var(--secondary); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.1rem; background: var(--surface); }
.cart-item-box:hover { transform: none; border-color: #b9cbdc; box-shadow: var(--shadow-md); }
.cart-item-image { flex: 0 0 92px; max-width: 92px; height: 92px; border-radius: var(--radius-sm); background: #f7f9fb; border-color: var(--line); }
.product-info-col1 p.fs-7 { color: var(--ink); font-size: .92rem !important; }
.group-attributes-grid { gap: .45rem; padding: .65rem; background: #f7f9fb; border-radius: var(--radius-sm); }
.attr-pair { width: auto; flex: 1 1 160px; padding: .45rem .55rem; border-radius: 4px; font-size: .7rem; }
.attr-name { color: var(--muted); }.attr-value { color: var(--primary); }
.product-info-col1 { flex: 1 1 auto; min-width: 0; }.product-total-col { flex: 0 0 150px; margin-left: auto; }.cart-item-price { color: var(--primary); font-size: 1.1rem; }
.removeProduct, .editProduct { width: 32px; height: 32px; border-radius: 4px; }
.cart-summary-card, .order-summary-box { position: sticky; top: 78px; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 1.25rem; background: var(--surface); }
.cart-summary-card h5, .order-summary-box .small-tilte-border { color: var(--primary) !important; font-size: 1rem !important; font-weight: 750; }
.cart-summary-card td { padding: .7rem 0; font-size: .78rem; }.cart-summary-card tr:last-child td { color: var(--primary) !important; }
.continue-shopping-link { color: var(--primary); font-size: .75rem; }.continue-shopping-link:hover { color: var(--secondary); }
.border-box { margin-bottom: 1.15rem; padding: 1.25rem !important; background: var(--surface); border: 1px solid var(--line) !important; border-radius: var(--radius-md) !important; box-shadow: var(--shadow-sm); }
.border-box-title { color: var(--primary); font-size: 1rem; font-weight: 750; }
.border-box-title p { margin: 0; }.border-box label { color: var(--ink); font-size: .72rem; font-weight: 700; }.border-box .form-control, .border-box .form-select { min-height: 40px; border-color: var(--line-strong); border-radius: 4px; box-shadow: none; font-size: .78rem; }.border-box textarea.form-control { min-height: 76px; padding-top: .65rem; }.border-box .form-control:focus, .border-box .form-select:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(45,95,143,.11); }.iti { width: 100%; }.order-summary-box .summary-table { width: 100%; margin: .65rem 0 1rem; }.order-summary-box .summary-table td { padding: .6rem 0; border-bottom: 1px solid var(--line); }.order-summary-box .summary-table tr:last-child td { border-bottom: 0; color: var(--primary); font-size: .9rem; }.btn-place-order { min-height: 44px; font-size: .78rem; font-weight: 750; }
.order-items { padding: .7rem 0; border-bottom: 1px solid var(--line); }.order-image { width: 52px; height: 52px; border-radius: 4px; overflow: hidden; }.order-image img { width: 100%; height: 100%; object-fit: contain; }
.order-item-detail p, .summary-table td { font-size: .75rem; }.summary-table tr:last-child td { color: var(--primary); font-weight: 750; }

/* Customer access pages */
.auth-wrapper-modern { min-height: calc(100vh - 150px); padding: 3.5rem 1rem; background: linear-gradient(120deg, #eef4f8 0%, #f8fafc 53%, #edf1f6 100%); }
.auth-card-container { max-width: 1040px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-card-left { padding: 3.25rem 3.5rem; }.auth-card-right { padding: 3.25rem; background: var(--primary); text-align: left; align-items: flex-start; }
.auth-card-right::before { width: 230px; height: 230px; background: rgba(255,255,255,.07); border-radius: 0; transform: rotate(45deg); }
.auth-heading { color: var(--primary); font-size: 1.75rem; letter-spacing: 0; }.auth-subheading { font-size: .82rem; }
.auth-brand-logo { max-height: 45px; }.modern-form-label { color: var(--ink); font-size: .76rem; }.modern-input { height: 46px; border-radius: 4px; background: #f8fafc; font-size: .84rem; }
.modern-input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(45,95,143,.11); }.modern-btn-primary { height: 46px; border-radius: 4px; background: var(--primary); box-shadow: none; font-size: .84rem; }.modern-btn-primary:hover { background: var(--primary-dark); transform: none; }.forgot-link { color: var(--secondary); font-size: .73rem; }.modern-btn-outline { border-radius: 4px; font-size: .78rem; }
.auth-single-container { min-height: calc(100vh - 150px); display: flex; align-items: center; padding: 3rem 1rem; background: linear-gradient(120deg, #edf3f8, #f8fafc); }.auth-card-single { width: min(100%, 460px); padding: 2.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }.back-to-login { color: var(--primary); font-size: .78rem; font-weight: 700; text-decoration: none; }.back-to-login:hover { color: var(--secondary); }.alert-modern { border-radius: var(--radius-sm); font-size: .78rem; }
.ideal-auth-view .header-modern .row > .col-auto:last-child { display: none !important; }
.ideal-auth-view .header-inner { padding: .85rem 0; }
.auth-reference-shell { min-height: calc(100vh - 149px); display: grid; place-items: center; padding: 3rem 1.25rem 4rem; background: #f7f8fa; }
.auth-reference-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr); width: min(100%, 1120px); min-height: 560px; background: var(--surface); border: 1px solid #e6e9ed; border-radius: 9px; overflow: hidden; box-shadow: 0 20px 46px rgba(16,46,80,.10); }
.auth-reference-story, .registration-reference-story { position: relative; overflow: hidden; padding: 5rem 4.5rem; background: #fbfaf8; }
.auth-reference-story::before, .registration-reference-story::before { content: ''; position: absolute; width: 390px; height: 390px; left: -245px; top: -175px; border: 1px solid rgba(198,90,30,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(198,90,30,.025), 0 0 0 140px rgba(23,63,107,.018); }
.auth-reference-story::after, .registration-reference-story::after { content: ''; position: absolute; width: 310px; height: 310px; right: -185px; bottom: -175px; border: 1px solid rgba(23,63,107,.12); border-radius: 50%; box-shadow: 0 0 0 54px rgba(23,63,107,.025); }
.auth-kicker { position: relative; z-index: 1; display: block; color: var(--secondary); font-size: .66rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.auth-reference-story h1, .registration-reference-story h1 { position: relative; z-index: 1; max-width: 360px; margin: .7rem 0 1rem; color: var(--primary); font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.06; font-weight: 750; }
.auth-reference-story p, .registration-reference-story p { position: relative; z-index: 1; max-width: 345px; margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.8; }
.drawer-line-art { position: relative; z-index: 1; width: 148px; height: 116px; display: grid; place-items: center; margin: 3rem auto 1.25rem; color: #bc8735; border: 2px solid currentColor; border-radius: 4px 4px 18px 4px; transform: perspective(300px) rotateX(7deg) rotateY(-10deg); }
.drawer-line-art::before { content: ''; position: absolute; width: 84%; height: 54%; right: -17px; bottom: -17px; border: 2px solid currentColor; border-top: 0; border-left: 0; opacity: .85; }
.drawer-line-art i { font-size: 2.35rem; transform: rotateY(10deg); }.auth-story-note { position: relative; z-index: 1; display: block; color: #bc8735; text-align: center; font-family: Georgia, serif; font-size: 1rem; font-style: italic; line-height: 1.25; }
.auth-reference-form { align-self: center; width: min(100%, 440px); margin: 2.5rem auto; padding: 3rem; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 12px 26px rgba(16,46,80,.07); }
.auth-standalone-header { height: 72px; display: flex; align-items: center; justify-content: center; background: #fff; border-bottom: 1px solid var(--line); }.auth-standalone-header img { width: 70px; max-height: 48px; object-fit: contain; }.ideal-auth-view .auth-reference-shell { min-height: calc(100vh - 72px); }
.auth-form-heading h2 { margin: .55rem 0 .5rem; color: var(--ink); font-size: 1.35rem; font-weight: 750; }.auth-form-heading p { margin: 0 0 1.8rem; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.auth-reference-form .modern-form-group { margin-bottom: 1.1rem; }.auth-reference-form .modern-form-label { font-size: .72rem; }.auth-reference-form .modern-input { height: 43px; border-radius: 4px; font-size: .78rem; }.auth-reference-form .modern-btn-primary { height: 43px; font-size: .78rem; }.auth-form-footer { margin: 1.5rem 0 0; color: var(--muted); text-align: center; font-size: .72rem; }.auth-form-footer a { color: var(--secondary); font-weight: 750; text-decoration: none; }
.ideal-register-page .header-top { height: 76px; display: flex; align-items: center; }.ideal-register-page .header-top .logo img { width: 78px; max-height: 52px; object-fit: contain; }
.registration-reference-shell { min-height: calc(100vh - 76px); background: #f7f8fa; }.ideal-register-page .homepad { min-height: calc(100vh - 76px); padding: 2.6rem 0 4rem; }.registration-reference-shell .container { max-width: 1230px; }.registration-reference-shell .row { align-items: stretch; }.registration-reference-story { min-height: 670px; border-radius: 8px 0 0 8px; }.registration-reference-story h1 { font-size: 2.55rem !important; }.registration-reference-story + .col-lg-8 { padding: 2.5rem 2.8rem; background: var(--surface); border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; box-shadow: 0 18px 36px rgba(16,46,80,.08); }.registration-reference-shell h1.text-center { text-align: left !important; font-size: 1.55rem !important; margin-bottom: 1.5rem !important; }.ideal-register-page .form-stepper-horizontal { margin-top: 0 !important; padding: .95rem 1.15rem; border-radius: 6px; box-shadow: none; }.ideal-register-page .form-stepper-circle { width: 32px; height: 32px; font-size: .72rem; }.ideal-register-page .form-stepper-list .label { font-size: .67rem; }.ideal-register-page .card-body { padding: 1.45rem; }
.ideal-register-page { background: var(--canvas); color: var(--ink); }.ideal-register-page .header-top { border-bottom: 1px solid var(--line); box-shadow: none !important; }.ideal-register-page .homepad { background: transparent !important; padding: 2.5rem 0 4rem; }.ideal-register-page h1 { color: var(--primary); font-size: 1.8rem !important; letter-spacing: 0; }.ideal-register-page .form-stepper-horizontal { border-radius: var(--radius-md); border-color: var(--line); box-shadow: var(--shadow-sm); }.ideal-register-page .card.rounded-8.shadow-sm { border-radius: var(--radius-md) !important; border-color: var(--line) !important; box-shadow: var(--shadow-sm) !important; }.ideal-register-page .card.rounded-8.shadow-sm::before { width: 3px; background: var(--secondary); }.ideal-register-page .card-header.font-weight-semibold { color: var(--primary); font-size: 1rem; }.ideal-register-page .card .form-control, .ideal-register-page .card .form-select { border-radius: 4px; border-color: var(--line-strong); font-size: .8rem; }.ideal-register-page .btn-primary { font-size: .8rem; }
.front-auth-page { min-height: 100vh; background: var(--canvas); display: grid; place-items: center; padding: 1.5rem; }.front-auth-page .auth-panel { width: min(100%, 480px); background: var(--surface); padding: 2.25rem; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }.front-auth-page .auth-panel h1 { color: var(--primary); font-size: 1.5rem; }.front-auth-page .form-control { min-height: 44px; border-color: var(--line-strong); border-radius: 4px; }

@media (max-width: 991px) {
  .categorymenu { flex: 0 0 100%; max-width: 100%; padding: 0 !important; }.compact-category-sidebar { position: static; }.category-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }.category-group { min-width: 0; }.subcategory-dropdown { grid-column: 1 / -1; }
  .product-grid .grid { grid-template-columns: repeat(3, minmax(0,1fr)); }.modern-featured-image { height: 300px; }
}
@media (max-width: 767px) {
  .header-inner { padding: .55rem 0; }.brand-logo-img { max-height: 34px; }.cart-icon-btn, .user-profile-btn { width: 36px; height: 36px; }
  .category { padding-top: .5rem; }.category-list { grid-template-columns: 1fr; }.product-grid::before { font-size: 1.25rem; }.product-grid .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }.product-image-container { padding: .4rem; }.product-details { padding: .65rem; }.product-title { font-size: .68rem; }
  .header-brand-context, .user-profile-copy { display: none !important; }.header-workspace-bar { min-height: 44px; }.brand-logo-img { width: 54px; }.header-actions { gap: .45rem; }.category-showcase { min-height: 220px; margin-bottom: 1.25rem; }.category-showcase::after { background: linear-gradient(90deg, rgba(13,33,57,.94), rgba(16,46,80,.61)); }.category-showcase-copy { width: 100%; padding: 1.55rem; }.category-showcase-copy h1 { font-size: 1.55rem; }.category-showcase-copy p { max-width: 270px; font-size: .7rem; }.category-showcase-values { display: none !important; }
  .product-main-box { padding: .75rem; }.product-info .product-title { font-size: 1.25rem; }.modern-featured-image { height: 250px; }.attributes-section, .cart-table-section { padding: .8rem !important; }.floating-cart { right: 0 !important; left: 0; bottom: 0 !important; width: auto !important; border-radius: var(--radius-md) var(--radius-md) 0 0 !important; }
  .cart-item-box { padding: .8rem; }.cart-item-image { flex-basis: 70px; max-width: 70px; height: 70px; }.product-total-col { flex: 1 1 100%; width: 100%; }.cart-summary-card, .order-summary-box, .auth-card-single { position: static; padding: 1.5rem; }.auth-card-left, .auth-card-right { padding: 2.25rem 1.5rem; }.auth-card-right { text-align: center; align-items: center; }.auth-card-right h2 { font-size: 1.6rem !important; }
  .auth-reference-shell { min-height: auto; padding: 1.25rem 0 2.5rem; }.auth-reference-grid { grid-template-columns: 1fr; min-height: 0; border-radius: 0; }.auth-reference-story { padding: 3rem 2rem 2.25rem; }.auth-reference-story h1 { font-size: 2rem; }.auth-reference-story .drawer-line-art { margin: 1.75rem auto .8rem; transform: scale(.78); }.auth-reference-form { margin: 0; width: 100%; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 2rem; }
  .ideal-register-page .homepad { padding: 0 0 2rem; }.registration-reference-story { min-height: 385px; padding: 2.75rem 2rem 1.5rem; border-radius: 0; }.registration-reference-story h1 { font-size: 2rem !important; }.registration-reference-story .drawer-line-art { margin: 1.4rem auto .55rem; transform: scale(.68); }.registration-reference-story + .col-lg-8 { padding: 1.75rem 1rem; border: 0; border-radius: 0; box-shadow: none; }.registration-reference-shell h1.text-center { font-size: 1.3rem !important; }.ideal-register-page .form-stepper-list .label { font-size: .58rem; }.ideal-register-page .card-body { padding: 1rem; }
}
