2026-07-09 02:29:12 +04:00
|
|
|
|
// Base styles (platform theme)
|
|
|
|
|
|
.cart-container.platform {
|
2026-01-18 18:57:06 +04:00
|
|
|
|
max-width: 1200px;
|
|
|
|
|
|
margin: 0 auto;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 24px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
min-height: calc(100vh - 200px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
.cart-container.platform .cart-header {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
margin-bottom: 28px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
h1 {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-4xl, 2rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-primary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.clear-cart-btn {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
|
background: transparent;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
border: 1px solid var(--border-color);
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-base, 0.875rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-semibold, 600);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
gap: 8px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
svg {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
display: block;
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
background: #fef2f2;
|
|
|
|
|
|
border-color: #ef4444;
|
|
|
|
|
|
color: #ef4444;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
.empty-cart {
|
|
|
|
|
|
min-height: 320px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cart-content {
|
|
|
|
|
|
display: grid;
|
2026-06-20 15:08:10 +04:00
|
|
|
|
grid-template-columns: minmax(0, 1fr) 350px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
gap: 24px;
|
|
|
|
|
|
align-items: start;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cart-items {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 16px;
|
2026-06-20 15:08:10 +04:00
|
|
|
|
min-width: 0;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cart-item-wrapper {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
overflow: hidden;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-md, 12px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
transition: transform 0.3s ease;
|
|
|
|
|
|
|
|
|
|
|
|
&.swiped {
|
|
|
|
|
|
.cart-item {
|
|
|
|
|
|
transform: translateX(-80px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.delete-btn-mobile {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
// platform cart item
|
|
|
|
|
|
.cart-container.platform .cart-item {
|
2026-01-18 18:57:06 +04:00
|
|
|
|
display: flex;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
gap: 20px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
background: white;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border: 1px solid var(--border-color);
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 20px;
|
|
|
|
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
position: relative;
|
|
|
|
|
|
z-index: 1;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
border-color: #a1b4b5;
|
|
|
|
|
|
box-shadow: 0 4px 12px rgba(73, 118, 113, 0.1);
|
|
|
|
|
|
transform: translateY(-1px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-image {
|
|
|
|
|
|
flex-shrink: 0;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
width: 100px;
|
|
|
|
|
|
height: 100px;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
overflow: hidden;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
|
border: 1px solid var(--border-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
2026-01-22 12:38:21 +04:00
|
|
|
|
object-fit: contain;
|
|
|
|
|
|
background: white;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
display: block;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 6px;
|
|
|
|
|
|
transition: transform 0.3s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:hover img {
|
|
|
|
|
|
transform: scale(1.05);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-info {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-name {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-semibold, 600);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-primary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.remove-btn {
|
|
|
|
|
|
flex-shrink: 0;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 6px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
background: transparent;
|
|
|
|
|
|
border: none;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
color: #a1b4b5;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
cursor: pointer;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-sm, 8px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
background: #fef2f2;
|
|
|
|
|
|
color: #ef4444;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-description {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-base, 0.875rem);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-secondary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-24 00:09:11 +04:00
|
|
|
|
.cart-item-variants {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-24 03:24:34 +04:00
|
|
|
|
align-items: center;
|
2026-03-24 00:09:11 +04:00
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
|
|
|
|
.cart-variant {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-03-24 00:09:11 +04:00
|
|
|
|
background: rgba(73, 118, 113, 0.08);
|
|
|
|
|
|
padding: 3px 10px;
|
|
|
|
|
|
border-radius: 6px;
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-medium, 500);
|
2026-03-24 03:24:34 +04:00
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cart-colour-swatch {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
|
|
|
|
vertical-align: middle;
|
2026-03-24 00:09:11 +04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-01-18 18:57:06 +04:00
|
|
|
|
.item-footer {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Pricing & Quantity - shared
|
|
|
|
|
|
.item-pricing {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
|
|
|
|
|
|
.price-with-discount {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.original-price {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
color: #9ca3af;
|
|
|
|
|
|
text-decoration: line-through;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.current-price {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-xl, 1.125rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
2026-06-20 15:16:25 +04:00
|
|
|
|
|
|
|
|
|
|
.delivery-price {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-medium, 500);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-secondary);
|
2026-06-20 15:16:25 +04:00
|
|
|
|
}
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
// platform quantity controls
|
|
|
|
|
|
.cart-container.platform .quantity-controls {
|
2026-01-18 18:57:06 +04:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 12px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--bg-secondary);
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 4px 10px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border: 1px solid var(--border-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
.qty-btn {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
width: 30px;
|
|
|
|
|
|
height: 30px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
border: none;
|
|
|
|
|
|
background: transparent;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
color: white;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qty-value {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-primary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
min-width: 24px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.delete-btn-mobile {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
background: #ef4444;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
|
|
border-radius: 0 12px 12px 0;
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
background: #dc2626;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
// platform Cart Summary
|
|
|
|
|
|
.cart-container.platform .cart-summary {
|
2026-01-18 18:57:06 +04:00
|
|
|
|
position: sticky;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
top: 90px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
|
border: 1px solid var(--border-color);
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 28px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 16px;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.15);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
.summary-header h3 {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-3xl, 1.5rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-primary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin: 0 0 16px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.summary-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-md, 0.9375rem);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-secondary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
&.delivery {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.total {
|
|
|
|
|
|
padding-top: 16px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border-top: 1px solid var(--border-color);
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-xl, 1.125rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-primary);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
|
|
|
|
|
|
.total-price {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-3xl, 1.5rem);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-29 00:06:18 +04:00
|
|
|
|
.payment-method-actions {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-01-18 18:57:06 +04:00
|
|
|
|
.checkout-btn {
|
|
|
|
|
|
width: 100%;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
padding: 16px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
color: white;
|
|
|
|
|
|
border: none;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.15);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-hover);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
|
box-shadow: 0 6px 16px rgba(73, 118, 113, 0.3);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-03-24 00:09:11 +04:00
|
|
|
|
|
|
|
|
|
|
.cart-login-gate {
|
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
|
background: rgba(42, 171, 238, 0.05);
|
|
|
|
|
|
border: 1px dashed rgba(42, 171, 238, 0.3);
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
.login-gate-icon {
|
|
|
|
|
|
margin: 0 auto 10px;
|
|
|
|
|
|
width: 56px;
|
|
|
|
|
|
height: 56px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: rgba(42, 171, 238, 0.1);
|
|
|
|
|
|
color: #2AABEE;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.login-gate-title {
|
|
|
|
|
|
margin: 0 0 4px;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
2026-03-24 00:09:11 +04:00
|
|
|
|
color: #1a1a1a;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.login-gate-desc {
|
|
|
|
|
|
margin: 0 0 16px;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
2026-03-24 00:09:11 +04:00
|
|
|
|
color: #6b7280;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.telegram-login-btn {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 12px 24px;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: #2AABEE;
|
|
|
|
|
|
color: #fff;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-md, 0.9375rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-semibold, 600);
|
2026-03-24 00:09:11 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
background: #229ED9;
|
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
|
box-shadow: 0 4px 12px rgba(42, 171, 238, 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-06-29 00:06:18 +04:00
|
|
|
|
|
|
|
|
|
|
.card-payment-btn {
|
|
|
|
|
|
background: #1f2937;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
|
|
|
|
|
background: #111827;
|
|
|
|
|
|
box-shadow: 0 6px 16px rgba(31, 41, 55, 0.28);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Terms agreement - shared base
|
|
|
|
|
|
.terms-agreement {
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
.checkbox-container {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
padding-left: 28px;
|
|
|
|
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
height: 0;
|
|
|
|
|
|
width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.checkmark {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
top: 2px;
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
background: white;
|
|
|
|
|
|
border: 2px solid #d1d5db;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-xs, 4px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
|
content: "";
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
left: 5px;
|
|
|
|
|
|
top: 2px;
|
|
|
|
|
|
width: 4px;
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
border: solid white;
|
|
|
|
|
|
border-width: 0 2px 2px 0;
|
|
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.terms-text {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
color: #6b7280;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
|
|
|
|
|
|
a {
|
2026-02-14 02:34:11 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-21 23:13:01 +04:00
|
|
|
|
.delivery-warning {
|
|
|
|
|
|
margin: -4px 0 0;
|
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
|
border-radius: 10px;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
2026-06-21 23:13:01 +04:00
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
.cart-container.platform .cart-summary .delivery-warning {
|
2026-06-21 23:13:01 +04:00
|
|
|
|
color: #9a6700;
|
|
|
|
|
|
background: #fff8e8;
|
|
|
|
|
|
border: 1px solid #f1ddb2;
|
|
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
// platform checkbox colors
|
|
|
|
|
|
.cart-container.platform .terms-agreement .checkbox-container {
|
2026-01-18 18:57:06 +04:00
|
|
|
|
input[type="checkbox"]:checked ~ .checkmark {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-color);
|
|
|
|
|
|
border-color: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-14 02:34:11 +04:00
|
|
|
|
|
|
|
|
|
|
.checkmark {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border: 2px solid var(--border-color);
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-xs, 4px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.terms-text {
|
|
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--text-secondary);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
|
|
|
|
|
|
a {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-color);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
text-decoration: none;
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-semibold, 600);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
text-decoration: underline;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
color: var(--primary-hover);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Payment modal styles
|
|
|
|
|
|
.payment-modal-overlay {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
background: rgba(0, 0, 0, 0.6);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-modal {
|
|
|
|
|
|
background: white;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
max-width: 500px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 40px;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
max-height: 90vh;
|
|
|
|
|
|
overflow-y: auto;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border: 1px solid var(--border-color);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
.close-modal-btn {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 16px;
|
|
|
|
|
|
right: 16px;
|
|
|
|
|
|
width: 36px;
|
|
|
|
|
|
height: 36px;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
background: #e5e7eb;
|
|
|
|
|
|
color: #1f2937;
|
|
|
|
|
|
transform: scale(1.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
transform: scale(0.95);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.close-modal-btn {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 16px;
|
|
|
|
|
|
right: 16px;
|
|
|
|
|
|
width: 36px;
|
|
|
|
|
|
height: 36px;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
background: #e5e7eb;
|
|
|
|
|
|
color: #1f2937;
|
|
|
|
|
|
transform: scale(1.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
transform: scale(0.95);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-status-screen {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-3xl, 1.5rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
|
|
color: #1a1a1a;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.success {
|
|
|
|
|
|
.success-icon {
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
height: 80px;
|
|
|
|
|
|
background: #10b981;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
margin: 0 auto 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-02 00:57:36 +04:00
|
|
|
|
&.error {
|
|
|
|
|
|
.error-icon {
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
height: 80px;
|
|
|
|
|
|
background: #f97316;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
font-size: 3rem;
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
2026-06-02 00:57:36 +04:00
|
|
|
|
color: white;
|
|
|
|
|
|
margin: 0 auto 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-error-actions {
|
|
|
|
|
|
margin-top: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.retry-payment-btn {
|
|
|
|
|
|
padding: 14px 24px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-color);
|
2026-06-02 00:57:36 +04:00
|
|
|
|
color: white;
|
|
|
|
|
|
border: none;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-06-02 00:57:36 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
2026-06-02 00:57:36 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-hover);
|
2026-06-02 00:57:36 +04:00
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
|
box-shadow: 0 4px 12px rgba(73, 118, 113, 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-01-18 18:57:06 +04:00
|
|
|
|
&.timeout {
|
|
|
|
|
|
.timeout-icon {
|
|
|
|
|
|
font-size: 4rem;
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auto-close {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-sm, 0.8125rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.spinner-large,
|
|
|
|
|
|
.spinner-small {
|
|
|
|
|
|
width: 50px;
|
|
|
|
|
|
height: 50px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border: 4px solid var(--border-color);
|
|
|
|
|
|
border-top: 4px solid var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
animation: spin 1s linear infinite;
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.spinner-small {
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
border-width: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
|
|
100% { transform: rotate(360deg); }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-active {
|
|
|
|
|
|
h2 {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
color: #1a1a1a;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qr-section {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qr-wrapper {
|
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
background: white;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-md, 12px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qr-code {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
width: 250px;
|
|
|
|
|
|
height: 250px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.scan-line {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 16px;
|
|
|
|
|
|
left: 16px;
|
|
|
|
|
|
right: 16px;
|
|
|
|
|
|
height: 2px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
animation: scan 2s linear infinite;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
box-shadow: 0 0 10px var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes scan {
|
|
|
|
|
|
0% {
|
|
|
|
|
|
top: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
50% {
|
|
|
|
|
|
top: calc(100% - 18px);
|
|
|
|
|
|
}
|
|
|
|
|
|
100% {
|
|
|
|
|
|
top: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-info {
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-amount {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
background: #f9fafb;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-sm, 8px);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
|
color: #6b7280;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-md, 0.9375rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.amount {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-2xl, 1.25rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
color: #1a1a1a;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.waiting-indicator {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
|
|
|
|
|
|
|
.pulse-dot {
|
|
|
|
|
|
width: 8px;
|
|
|
|
|
|
height: 8px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-actions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
.copy-btn,
|
|
|
|
|
|
.open-btn {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
padding: 12px 16px;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-sm, 8px);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-semibold, 600);
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-md, 0.9375rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.copy-btn {
|
|
|
|
|
|
background: #10b981;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
background: #059669;
|
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
|
box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.open-btn {
|
|
|
|
|
|
background: var(--primary-color);
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 4px 12px rgba(73, 118, 113, 0.25);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
background: var(--primary-hover);
|
|
|
|
|
|
transform: translateY(-2px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 6px 16px rgba(73, 118, 113, 0.35);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-06-28 22:18:35 +04:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bank-payment-modal-overlay {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
z-index: 1001;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
padding: 24px;
|
|
|
|
|
|
background: rgba(17, 24, 39, 0.55);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bank-payment-modal {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
width: min(960px, 92vw);
|
|
|
|
|
|
height: min(760px, 86vh);
|
|
|
|
|
|
padding: 56px 16px 16px;
|
|
|
|
|
|
background: white;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-06-28 22:18:35 +04:00
|
|
|
|
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bank-payment-frame {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
border: 0;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-sm, 8px);
|
2026-06-28 22:18:35 +04:00
|
|
|
|
background: white;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
|
|
0%, 100% {
|
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
50% {
|
|
|
|
|
|
transform: scale(1.3);
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.email-form {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 16px;
|
|
|
|
|
|
margin-top: 24px;
|
|
|
|
|
|
|
|
|
|
|
|
.input-group {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.error-message {
|
|
|
|
|
|
color: #ef4444;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-base, 0.875rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
padding-left: 4px;
|
|
|
|
|
|
animation: slideDown 0.2s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes slideDown {
|
|
|
|
|
|
from {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
transform: translateY(-4px);
|
|
|
|
|
|
}
|
|
|
|
|
|
to {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.email-input {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 14px;
|
|
|
|
|
|
border: 1px solid #e5e7eb;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-sm, 8px);
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
outline: none;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:focus {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
border-color: var(--primary-color);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 0 0 3px rgba(73, 118, 113, 0.1);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.valid {
|
|
|
|
|
|
border-color: #10b981;
|
|
|
|
|
|
background-color: #f0fdf4;
|
|
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
|
border-color: #10b981;
|
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.invalid {
|
|
|
|
|
|
border-color: #ef4444;
|
|
|
|
|
|
background-color: #fef2f2;
|
|
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
|
border-color: #ef4444;
|
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.submit-email-btn {
|
|
|
|
|
|
padding: 14px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-color);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
color: white;
|
|
|
|
|
|
border: none;
|
2026-07-20 03:27:25 +04:00
|
|
|
|
border-radius: var(--radius-lg, 13px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-lg, 1rem);
|
2026-07-20 03:28:56 +04:00
|
|
|
|
font-weight: var(--font-weight-bold, 700);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
background: var(--primary-hover);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
transform: translateY(-1px);
|
2026-02-14 02:34:11 +04:00
|
|
|
|
box-shadow: 0 4px 12px rgba(73, 118, 113, 0.3);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Mobile responsive
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.cart-content {
|
2026-06-20 15:08:10 +04:00
|
|
|
|
grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
|
gap: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-01-18 18:57:06 +04:00
|
|
|
|
.cart-summary {
|
|
|
|
|
|
position: static;
|
2026-06-20 15:08:10 +04:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
.cart-container.platform {
|
2026-06-20 15:08:10 +04:00
|
|
|
|
padding: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 02:29:12 +04:00
|
|
|
|
.cart-container.platform .cart-header {
|
2026-06-20 15:08:10 +04:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 12px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.remove-btn-desktop {
|
|
|
|
|
|
display: none !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.delete-btn-mobile {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-modal {
|
|
|
|
|
|
padding: 24px;
|
fix(storefront): composition audit fixes for cart, catalog, product, compare, wishlist, static pages
- Replace hand-rolled loading/error/empty markup with shared app-skeleton,
app-empty-state, and app-button across catalog, product details, cart,
compare, wishlist, and the public static-page renderer
- Fix hardcoded hex colors that bypassed theme CSS variables (catalog,
product details), restoring multi-tenant theme correctness
- Remove ~1100 lines of dead "alt" cart theme CSS (never applied by the
template) from cart.component.scss, bringing it back under the 40kB
build budget (89.49kB -> 59.39kB cart-component chunk)
- Swap legacy global .btn/.btn-ghost/.btn-primary classes for app-button
in compare and wishlist empty/toolbar actions
2026-07-23 10:37:06 +04:00
|
|
|
|
padding-top: 56px; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2026-01-18 18:57:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.close-modal-btn {
|
|
|
|
|
|
top: 12px;
|
|
|
|
|
|
right: 12px;
|
|
|
|
|
|
width: 32px;
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qr-code {
|
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
|
height: 200px !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.payment-actions {
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
.copy-btn,
|
|
|
|
|
|
.open-btn {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-29 00:06:18 +04:00
|
|
|
|
.payment-method-actions {
|
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-28 22:18:35 +04:00
|
|
|
|
.bank-payment-modal-overlay {
|
|
|
|
|
|
padding: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bank-payment-modal {
|
|
|
|
|
|
width: 94vw;
|
|
|
|
|
|
height: 82vh;
|
|
|
|
|
|
padding: 52px 10px 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-01-18 18:57:06 +04:00
|
|
|
|
.payment-active h2 {
|
2026-07-20 03:26:17 +04:00
|
|
|
|
font-size: var(--font-size-2xl, 1.25rem);
|
2026-01-18 18:57:06 +04:00
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 769px) {
|
|
|
|
|
|
.delete-btn-mobile {
|
|
|
|
|
|
display: none !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|