diff --git a/.idea/php.xml b/.idea/php.xml
index f324872..8e445c2 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -10,6 +10,9 @@
+
+
+
diff --git a/account.php b/account.php
index 783f716..fb79722 100644
--- a/account.php
+++ b/account.php
@@ -62,7 +62,6 @@ if (!$user)
include 'header.php';
?>
-
diff --git a/assets/css/catbar.css b/assets/css/catbar.css
index af20e28..0a5c1a0 100644
--- a/assets/css/catbar.css
+++ b/assets/css/catbar.css
@@ -1,98 +1,106 @@
+/* ==========================================================
+ CATEGORY BAR β Modern Pill Navigation
+ ========================================================== */
+
.home-nav {
width: 100%;
- display: flex;
- align-items: center;
- background-color: #2d3b50;
- padding: 1px 0;
+ background: var(--bg-surface);
+ border-bottom: 1px solid var(--border-subtle);
+ padding: 0;
+ overflow: hidden;
}
-/* Inner zentriert */
.home-nav__inner {
flex: 1;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
+ padding: 0.5rem 1rem;
}
-/* List */
.home-nav__list {
width: 100%;
display: flex;
list-style: none;
margin: 0;
padding: 0;
+ gap: 0.35rem;
+ justify-content: center;
}
-/* LI nur als Container */
.home-nav__list li {
- flex: 1;
+ flex: 0 1 auto;
position: relative;
}
-/* =============================== */
-/* HOME CATEGORY LINKS */
-/* =============================== */
-
.home-nav__list li a {
- width: 100%;
- padding: 8px 0;
-
- background-color: rgb(45, 59, 80);
- color: #ffffff;
- font-weight: 600;
- font-size: 0.9rem;
-
+ padding: 0.55rem 1.5rem;
+ background: transparent;
+ color: var(--text-secondary);
+ font-weight: 500;
+ font-size: 0.88rem;
+ font-family: var(--font-family);
text-decoration: none;
cursor: pointer;
-
display: flex;
align-items: center;
justify-content: center;
-
- border-radius: 0; /* π₯ eckig */
- transition: background-color 0.2s ease;
+ border-radius: var(--radius-full);
+ transition: color var(--transition-fast),
+ background var(--transition-fast);
+ white-space: nowrap;
}
-/* Hover */
.home-nav__list li a:hover {
- background-color: rgba(255,255,255,0.18);
+ color: var(--text-invert);
+ background: rgba(255, 255, 255, 0.08);
}
-/* Active (Mausklick) */
.home-nav__list li a:active {
- background-color: rgba(255,255,255,0.28);
+ background: rgba(255, 255, 255, 0.12);
}
-/* Fokus (Tastatur) */
.home-nav__list li a:focus-visible {
outline: none;
- box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
+ box-shadow: 0 0 0 2px var(--color-primary);
}
-/* Aktive Kategorie (per PHP) */
.home-nav__list li a.active {
- background-color: rgba(255,255,255,0.25);
+ color: var(--color-primary);
+ background: var(--color-primary-soft);
+ font-weight: 600;
}
-/* =============================== */
-/* TRENNSTRICHE ZWISCHEN KATEGORIEN */
-/* =============================== */
+/* βββ Responsive: horizontal scroll on mobile βββ */
+@media (max-width: 768px) {
+ .home-nav__inner {
+ justify-content: flex-start;
+ padding: 0.5rem 0.75rem;
+ }
-.home-nav__list li {
- position: relative;
+ .home-nav__list {
+ overflow-x: auto;
+ overflow-y: hidden;
+ scroll-snap-type: x mandatory;
+ -webkit-overflow-scrolling: touch;
+ scrollbar-width: none;
+ gap: 0.25rem;
+ flex-wrap: nowrap;
+ justify-content: flex-start;
+ }
+
+ .home-nav__list::-webkit-scrollbar {
+ display: none;
+ }
+
+ .home-nav__list li {
+ flex: 0 0 auto;
+ scroll-snap-align: start;
+ }
+
+ .home-nav__list li a {
+ padding: 0.5rem 1.1rem;
+ font-size: 0.82rem;
+ }
}
-
-/* Trennstrich rechts β auΓer beim letzten */
-.home-nav__list li:not(:last-child)::after {
- content: "";
- position: absolute;
- right: 0;
- top: 0;
-
- height: 100%;
- width: 2px;
- background-color: rgba(255,255,255,0.3);
-}
-
-
diff --git a/assets/css/compcard.css b/assets/css/compcard.css
index 0121390..7b28382 100644
--- a/assets/css/compcard.css
+++ b/assets/css/compcard.css
@@ -1,149 +1,160 @@
-/* =============================== */
-/* PRODUCT GRID */
-/* =============================== */
+/* ==========================================================
+ PRODUCT CARDS & SCROLL β Modern Glass Cards
+ ========================================================== */
+/* βββ Product Grid βββ */
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
- gap: 2rem;
+ gap: 1.5rem;
padding: 2rem;
}
-/* =============================== */
-/* PRODUCT CARD β Apple Style */
-/* =============================== */
-
+/* βββ Product Card βββ */
.product-card {
- background-color: #2d3b50;
- border-radius: 5px;
+ background: var(--bg-card);
+ border: 1px solid var(--border-subtle);
+ border-radius: var(--radius-lg);
overflow: hidden;
-
- box-shadow:
- 0 10px 30px rgba(0, 0, 0, 0.08);
-
- transition:
- transform 0.25s ease,
- box-shadow 0.25s ease;
-
- /* Einheitliche Card-GrΓΆΓe */
+ box-shadow: var(--shadow-sm);
+ transition: transform var(--transition-smooth),
+ box-shadow var(--transition-smooth),
+ border-color var(--transition-smooth);
display: flex;
flex-direction: column;
- height: 250px;
-
+ min-height: 260px;
text-decoration: none;
color: inherit;
}
-/* Hover β Apple-like Lift */
.product-card:hover {
- transform: translateY(2px);
- box-shadow:
- 0 20px 50px rgba(0, 0, 0, 0.12);
+ transform: translateY(-6px);
+ box-shadow: var(--shadow-md), var(--shadow-glow);
+ border-color: var(--border-strong);
}
.product-card:focus-visible {
- outline: 2px solid #0071e3;
+ outline: 2px solid var(--color-primary);
outline-offset: 3px;
}
-/* Bild */
+/* βββ Card Image βββ */
.product-card img {
width: 100%;
- height: 160px;
+ height: 170px;
object-fit: contain;
object-position: center;
display: block;
flex: 0 0 auto;
- background-color: #ffffff;
+ background: rgba(255, 255, 255, 0.95);
+ padding: 12px;
+ border-bottom: 1px solid var(--border-subtle);
}
-/* Content */
+/* βββ Card Content βββ */
.product-card__content {
- padding: 1rem 1.25rem;
-
- /* sorgt dafΓΌr, dass der Content-Bereich den Rest der Card fΓΌllt */
+ padding: 1rem 1.25rem 1.1rem;
flex: 1 1 auto;
display: flex;
flex-direction: column;
min-height: 0;
+ gap: 0.3rem;
}
-/* Titel */
.product-card__content h3 {
- font-size: 1rem;
+ font-size: 0.95rem;
font-weight: 600;
- margin-bottom: 0.4rem;
- color: #ffffff; /* Apple Schwarz */
-
- /* verhindert, dass lange Titel die Card-HΓΆhe sprengen */
+ color: var(--text-primary);
+ margin-bottom: 0;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
+ line-height: 1.4;
}
-/* Beschreibung */
.product-card__content p {
- font-size: 0.85rem;
- color: #ffffff;
+ font-size: 0.82rem;
+ color: var(--text-secondary);
margin-bottom: 0;
-
overflow: hidden;
display: -webkit-box;
- -webkit-line-clamp: 4;
+ -webkit-line-clamp: 3;
-webkit-box-orient: vertical;
word-break: break-word;
+ line-height: 1.5;
}
-/* Preis */
.product-card__content .price {
- font-size: 0.95rem;
- font-weight: 600;
- color: #0071e3; /* Apple Blau */
+ font-size: 1rem;
+ font-weight: 700;
+ color: var(--color-primary);
+ margin-top: auto;
+ padding-top: 0.5rem;
}
-/* =============================== */
-/* PRODUCT SECTIONS (Vertical) */
-/* =============================== */
-
+/* βββ Product Sections βββ */
.product-section {
- padding: 1.5rem 0;
+ padding: 1.75rem 0 0.5rem;
}
-/* Γberschrift */
.product-section h2 {
margin-left: 2rem;
- margin-bottom: 0.75rem;
-
- font-size: 1.2rem;
- font-weight: 600;
- color: #d8d8ee;
+ margin-bottom: 1rem;
+ font-size: 1.25rem;
+ font-weight: 700;
+ color: var(--text-primary);
+ letter-spacing: -0.3px;
+ position: relative;
+ padding-left: 0.75rem;
}
-/* =============================== */
-/* HORIZONTAL PRODUCT SCROLL */
-/* =============================== */
+.product-section h2::before {
+ content: "";
+ position: absolute;
+ left: 0;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 3px;
+ height: 70%;
+ background: var(--color-primary);
+ border-radius: var(--radius-full);
+}
+/* βββ Horizontal Scroll βββ */
.product-scroll {
display: flex;
- gap: 1.5rem;
- padding: 0 2rem 1.5rem;
-
+ gap: 1.25rem;
+ padding: 0.5rem 2rem 2rem;
overflow-x: auto;
overflow-y: hidden;
-
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
-
scrollbar-width: none;
}
-/* fixe Breite pro Card im horizontalen Scroll */
.product-scroll .product-card {
- flex: 0 0 260px;
+ flex: 0 0 270px;
scroll-snap-align: start;
}
.product-scroll::-webkit-scrollbar {
display: none;
}
+
+/* βββ Responsive βββ */
+@media (max-width: 768px) {
+ .product-section h2 {
+ margin-left: 1rem;
+ font-size: 1.1rem;
+ }
+
+ .product-scroll {
+ padding: 0.5rem 1rem 1.5rem;
+ gap: 1rem;
+ }
+
+ .product-scroll .product-card {
+ flex: 0 0 240px;
+ }
+}
diff --git a/assets/css/login.css b/assets/css/login.css
index 0f888e5..576c5f2 100644
--- a/assets/css/login.css
+++ b/assets/css/login.css
@@ -1,73 +1,49 @@
-/* assets/css/login.css
- Geizhals-inspiriertes, cleanes Login-Layout
-*/
+/* ==========================================================
+ AUTH PAGES β Login, Register, Account
+ Modern glassmorphism style
+ ========================================================== */
-:root {
- /* Dunkelblauer Background, helle Cards, blaue Akzente */
- --gh-bg: #151923;
- --gh-card: #1f2937;
- --gh-text: #ffffff;
- --gh-muted: #ffffff;
- --gh-border: #5e6075;
-
- --gh-primary: #274a97;
- --gh-primary-2: #1d4ed8;
- --gh-link: #3c5fb6;
-
- --gh-danger: #d92d20;
- --gh-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
- --gh-radius: 5px;
- --gh-focus: 0 0 0 4px rgba(37, 99, 235, 0.28);
-}
-
-/* Wir stylen nur innerhalb des Login-Bereichs, damit global nichts kaputtgeht */
+/* βββ Auth Wrapper βββ */
.auth {
display: grid;
place-items: center;
- min-height: 81.5svh;
- padding: 34px 18px 60px;
- background: var(--gh-bg);
+ min-height: 80vh;
+ padding: 2.5rem 1.25rem 4rem;
+ background: var(--bg-main);
}
.auth__grid {
display: grid;
- grid-template-columns: 1fr; /* statt 1.06fr 0.94fr */
+ grid-template-columns: 1fr;
justify-items: center;
- gap: 22px;
- min-width: 1080px;
- max-width: 1080px;
+ gap: 1.5rem;
+ width: min(480px, 100%);
margin: 0 auto;
- align-items: center; /* optional, aber passend zur Zentrierung */
+ align-items: center;
}
-/*
- * Layout-Varianten fΓΌr Seiten, die mehrere .auth__card haben (z.B. account.php)
- * Nutzung:
- * - nebeneinander:
- * - untereinander:
- */
+/* βββ Side Layout (Account page) βββ */
.auth__grid.auth__card__side {
grid-template-columns: max-content 1fr;
align-items: start;
justify-items: stretch;
+ width: min(900px, 100%);
}
.auth__grid.auth__card__side .auth__card {
width: 100%;
}
-/* Bild-Card in Side-Ansicht: Card wird so groΓ wie das Bild (inkl. Padding), Bild bleibt IN der Card */
.auth__grid.auth__card__side .auth__card.auth__card__side__picture {
display: inline-grid;
width: max-content;
- justify-self: center; /* Card mittig in der linken Spalte */
- padding: 12px; /* Abstand zwischen Rahmen und Bild */
- overflow: hidden; /* Bild darf nicht ΓΌber Radius/Rahmen hinauslaufen */
- place-items: center; /* Bild mittig in der Card */
+ justify-self: center;
+ padding: 12px;
+ overflow: hidden;
+ place-items: center;
}
-/* Der normale auth__header ist ein Grid (Logo+Text). In der Bild-Card wollen wir nur "zentriert" */
-.auth__grid.auth__card__side .auth__card.auth__card__side__picture .auth__header{
+.auth__grid.auth__card__side .auth__card.auth__card__side__picture .auth__header {
display: flex;
justify-content: center;
align-items: center;
@@ -76,10 +52,10 @@
}
.auth__grid.auth__card__side .auth__card.auth__card__side__picture img {
- display: block; /* entfernt Inline-Gap unter Bildern */
- max-width: none; /* Card richtet sich an echter Bildbreite aus */
+ display: block;
+ max-width: none;
height: auto;
- /* runde Ecken kommen vom Container (overflow:hidden) */
+ border-radius: var(--radius-lg);
}
.auth__grid.auth__card__stack {
@@ -88,26 +64,28 @@
justify-items: center;
}
+/* βββ Card βββ */
.auth__card,
.auth__sideCard {
width: min(520px, 100%);
- background: var(--gh-card);
- /* border: 1px solid var(--gh-border); */
- border-radius: var(--gh-radius);
- box-shadow: var(--gh-shadow);
+ background: var(--bg-card);
+ border: 1px solid var(--border-subtle);
+ border-radius: var(--radius-lg);
+ box-shadow: var(--shadow-md);
}
.auth__card {
- padding: 22px;
+ padding: 1.75rem;
}
+/* βββ Card Header βββ */
.auth__header {
display: grid;
grid-template-columns: auto 1fr;
column-gap: 14px;
row-gap: 2px;
align-items: center;
- margin-bottom: 12px;
+ margin-bottom: 1rem;
}
.auth__logo {
@@ -119,42 +97,77 @@
.auth__title {
margin: 0;
- font-size: 1.55rem;
- letter-spacing: 0.2px;
- color: var(--gh-text);
+ font-size: 1.45rem;
+ font-weight: 700;
+ letter-spacing: -0.3px;
+ color: var(--text-primary);
}
.auth__subtitle {
margin: 0;
- color: var(--gh-muted);
- font-size: 0.98rem;
+ color: var(--text-secondary);
+ font-size: 0.95rem;
line-height: 1.4;
}
+/* βββ Alerts βββ */
.auth__alert__error {
- margin: 12px 0 14px;
- color: #ffffff;
- background: var(--gh-danger);
- border-radius: 5px;
- padding: 10px 12px;
- box-shadow: 0 8px 18px rgba(217, 45, 32, 0.18);
+ margin: 0.75rem 0 1rem;
+ color: var(--text-invert);
+ background: linear-gradient(135deg, var(--color-danger), #dc2626);
+ border-radius: var(--radius-md);
+ padding: 0.75rem 1rem;
+ font-size: 0.9rem;
+ font-weight: 500;
+ box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}
.auth__alert__sucess {
- margin: 12px 0 14px;
- color: #ffffff;
- background: #558346;
- border-radius: 5px;
- padding: 10px 12px;
- box-shadow: 0 8px 18px rgba(72, 142, 62, 0.18);
+ margin: 0.75rem 0 1rem;
+ color: var(--text-invert);
+ background: linear-gradient(135deg, #22c55e, #16a34a);
+ border-radius: var(--radius-md);
+ padding: 0.75rem 1rem;
+ font-size: 0.9rem;
+ font-weight: 500;
+ box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2);
}
+.auth__alert {
+ margin: 0.75rem 0 1rem;
+ color: var(--text-invert);
+ background: linear-gradient(135deg, var(--color-danger), #dc2626);
+ border-radius: var(--radius-md);
+ padding: 0.75rem 1rem;
+ font-size: 0.9rem;
+}
+
+.auth__alert ul {
+ margin: 0;
+ padding-left: 1.25rem;
+}
+
+.auth__alert li {
+ margin: 0.25rem 0;
+}
+
+.auth__error {
+ margin: 0.75rem 0;
+ color: var(--color-danger);
+ background: var(--color-danger-soft);
+ border: 1px solid rgba(239, 68, 68, 0.2);
+ border-radius: var(--radius-md);
+ padding: 0.75rem 1rem;
+ font-size: 0.9rem;
+}
+
+/* βββ Form βββ */
.auth__form {
- margin-top: 6px;
+ margin-top: 0.5rem;
}
.auth__field {
- margin-top: 12px;
+ margin-top: 1rem;
}
.auth__search {
@@ -163,151 +176,190 @@
.auth__field label {
display: block;
- margin: 0 0 6px;
- font-size: 0.95rem;
- color: var(--gh-muted);
+ margin: 0 0 0.4rem;
+ font-size: 0.88rem;
+ font-weight: 500;
+ color: var(--text-secondary);
}
.auth__field input[type="text"],
.auth__field input[type="password"],
+.auth__field input[type="email"],
.auth__field input[type="file"] {
width: 100%;
box-sizing: border-box;
- padding: 12px 12px;
- border: 1px solid var(--gh-border);
- border-radius: 5px;
- background: #1e2537;
- color: var(--gh-text);
+ padding: 0.75rem 0.9rem;
+ border: 1px solid var(--border-default);
+ border-radius: var(--radius-md);
+ background: var(--bg-input);
+ color: var(--text-primary);
+ font-family: var(--font-family);
+ font-size: 0.92rem;
outline: none;
- transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
+ transition: border-color var(--transition-fast),
+ box-shadow var(--transition-fast),
+ background var(--transition-fast);
}
.auth__field input[type="text"]:focus,
.auth__field input[type="password"]:focus,
+.auth__field input[type="email"]:focus,
.auth__field input[type="file"]:focus {
- border-color: rgba(37, 99, 235, 0.75);
- box-shadow: var(--gh-focus);
+ border-color: var(--color-primary);
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
+ background: rgba(26, 34, 51, 0.8);
+}
+
+.auth__field input[type="text"]::placeholder,
+.auth__field input[type="password"]::placeholder,
+.auth__field input[type="email"]::placeholder {
+ color: var(--text-muted);
}
.auth__field input[type="file"]::file-selector-button {
margin-right: 10px;
- padding: 10px 12px;
+ padding: 0.6rem 1rem;
border: 0;
- border-radius: 5px;
- background: var(--gh-primary);
+ border-radius: var(--radius-md);
+ background: var(--color-primary);
color: #ffffff;
- font-weight: 750;
+ font-weight: 600;
+ font-family: var(--font-family);
+ font-size: 0.85rem;
cursor: pointer;
- transition: transform 120ms ease, filter 120ms ease;
+ transition: background var(--transition-fast),
+ transform var(--transition-fast);
}
.auth__field input[type="file"]::file-selector-button:hover {
- filter: brightness(1.02);
+ background: var(--color-primary-hover);
transform: translateY(-1px);
}
.auth__field input[type="file"]::file-selector-button:active {
- transform: translateY(0px);
+ transform: translateY(0);
}
-
+/* βββ Actions βββ */
.auth__actions {
- margin-top: 14px;
+ margin-top: 1.25rem;
}
.auth__submit {
width: 100%;
- padding: 12px 14px;
+ padding: 0.75rem 1rem;
border: 0;
- border-radius: 5px;
- background: var(--gh-primary);
+ border-radius: var(--radius-md);
+ background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
color: #ffffff;
- font-weight: 750;
+ font-weight: 600;
+ font-family: var(--font-family);
+ font-size: 0.95rem;
letter-spacing: 0.2px;
cursor: pointer;
- transition: transform 120ms ease, filter 120ms ease;
-}
-
-.auth__submit:hover {
- filter: brightness(1.02);
- transform: translateY(-1px);
-}
-
-.auth__submit:active {
- transform: translateY(0px);
-}
-
-.auth__links {
- margin-top: 14px;
- padding-top: 12px;
- border-top: 1px dashed var(--gh-border);
-}
-
-.auth__muted {
- margin: 8px 0 0;
- color: var(--gh-muted);
-}
-
-.auth__muted a {
- color: var(--gh-link);
- text-decoration: none;
- font-weight: 700;
-}
-
-.auth__muted a:hover {
- text-decoration: underline;
-}
-
-.auth__sideCard {
- padding: 18px;
- background: var(--gh-card);
-}
-
-.auth__sideCard h3 {
- margin: 0 0 10px;
- font-size: 1.05rem;
- color: var(--gh-text);
-}
-
-.auth__sideCard ul {
- margin: 0;
- padding-left: 18px;
- color: var(--gh-text);
-}
-
-.auth__sideCard li {
- margin: 8px 0;
- color: var(--gh-text);
-}
-
-.auth__tip {
- margin-top: 14px;
- padding: 12px 12px;
- border-radius: 5px;
- background: rgba(37, 99, 235, 0.06);
- border: 1px solid rgba(37, 99, 235, 0.16);
- color: var(--gh-text);
-}
-
-.auth__submit {
- transition: 0.2s ease;
+ transition: transform var(--transition-fast),
+ box-shadow var(--transition-fast),
+ opacity var(--transition-fast);
+ box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}
.auth__submit:hover {
transform: translateY(-2px);
- opacity: 0.9;
+ box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}
+.auth__submit:active {
+ transform: translateY(0);
+}
+.auth__submit:disabled {
+ opacity: 0.5;
+ cursor: not-allowed;
+ transform: none;
+}
+
+/* Danger button variant */
+.auth__submit--danger {
+ background: linear-gradient(135deg, var(--color-danger), #dc2626);
+ box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
+}
+
+.auth__submit--danger:hover {
+ box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
+}
+
+/* βββ Links βββ */
+.auth__links {
+ margin-top: 1.25rem;
+ padding-top: 1rem;
+ border-top: 1px solid var(--border-subtle);
+}
+
+.auth__muted {
+ margin: 0.5rem 0 0;
+ color: var(--text-secondary);
+ font-size: 0.9rem;
+}
+
+.auth__muted a {
+ color: var(--color-primary);
+ text-decoration: none;
+ font-weight: 600;
+ transition: color var(--transition-fast);
+}
+
+.auth__muted a:hover {
+ color: var(--color-primary-hover);
+ text-decoration: underline;
+}
+
+/* βββ Side Card βββ */
+.auth__sideCard {
+ padding: 1.25rem;
+ background: var(--bg-card);
+}
+
+.auth__sideCard h3 {
+ margin: 0 0 0.75rem;
+ font-size: 1.05rem;
+ color: var(--text-primary);
+}
+
+.auth__sideCard ul {
+ margin: 0;
+ padding-left: 1.25rem;
+ color: var(--text-secondary);
+}
+
+.auth__sideCard li {
+ margin: 0.5rem 0;
+ color: var(--text-secondary);
+}
+
+/* βββ Tip Box βββ */
+.auth__tip {
+ margin-top: 0.75rem;
+ padding: 0.7rem 0.9rem;
+ border-radius: var(--radius-md);
+ background: var(--color-primary-soft);
+ border: 1px solid rgba(59, 130, 246, 0.15);
+ color: var(--text-secondary);
+ font-size: 0.82rem;
+ line-height: 1.5;
+}
+
+/* ==========================================================
+ RESPONSIVE
+ ========================================================== */
@media (max-width: 900px) {
.auth__grid {
- grid-template-columns: 1fr;
+ width: min(480px, 100%);
}
- /* Side-Layout klappt auf Mobile automatisch auf 1 Spalte zusammen */
.auth__grid.auth__card__side {
grid-template-columns: 1fr;
justify-items: center;
+ width: min(480px, 100%);
}
.auth__logo {
@@ -321,11 +373,11 @@
@media (max-width: 520px) {
.auth {
- padding-top: 18px;
+ padding-top: 1.5rem;
}
.auth__card {
- padding: 18px;
+ padding: 1.25rem;
}
.auth__header {
@@ -336,4 +388,8 @@
width: 140px;
grid-row: auto;
}
+
+ .auth__title {
+ font-size: 1.25rem;
+ }
}
\ No newline at end of file
diff --git a/assets/css/productAdder.css b/assets/css/productAdder.css
index fd6c8b4..00a2763 100644
--- a/assets/css/productAdder.css
+++ b/assets/css/productAdder.css
@@ -1,128 +1,147 @@
-/* assets/css/productAdder.css
- Dropdown-Styles fuer productAdder.php
-*/
+/* ==========================================================
+ PRODUCT ADDER β Dropdown & Form Styles
+ ========================================================== */
+/* βββ Select Wrapper βββ */
.auth__select__wrap {
width: min(520px, 100%);
display: grid;
- gap: 6px;
+ gap: 0.4rem;
justify-self: center;
- margin-top: 12px;
+ margin-top: 0.75rem;
}
.auth__select__label {
- font-size: 0.95rem;
- color: var(--gh-muted);
+ font-size: 0.88rem;
+ font-weight: 500;
+ color: var(--text-secondary);
}
.auth__select {
width: 100%;
box-sizing: border-box;
- padding: 12px 40px 12px 12px;
- border: 1px solid var(--gh-border);
- border-radius: 5px;
- background-color: #1e2537;
- color: var(--gh-text);
+ padding: 0.75rem 2.5rem 0.75rem 0.9rem;
+ border: 1px solid var(--border-default);
+ border-radius: var(--radius-md);
+ background-color: var(--bg-input);
+ color: var(--text-primary);
+ font-family: var(--font-family);
+ font-size: 0.92rem;
outline: none;
appearance: none;
- transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
+ cursor: pointer;
+ transition: border-color var(--transition-fast),
+ box-shadow var(--transition-fast);
background-image:
- linear-gradient(45deg, transparent 50%, #cbd5f5 50%),
- linear-gradient(135deg, #cbd5f5 50%, transparent 50%),
- linear-gradient(to right, #1e2537, #1e2537);
+ linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
+ linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
background-position:
- calc(100% - 18px) calc(1em + 2px),
- calc(100% - 13px) calc(1em + 2px),
- 100% 0;
- background-size: 5px 5px, 5px 5px, 2.5em 100%;
+ calc(100% - 18px) calc(50% + 1px),
+ calc(100% - 13px) calc(50% + 1px);
+ background-size: 5px 5px, 5px 5px;
background-repeat: no-repeat;
}
.auth__select:focus {
- border-color: rgba(37, 99, 235, 0.75);
- box-shadow: var(--gh-focus);
+ border-color: var(--color-primary);
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.auth__select option {
- background: #1e2537;
- color: var(--gh-text);
+ background: var(--bg-input);
+ color: var(--text-primary);
}
+/* βββ Product Adder Layout βββ */
.auth {
min-height: 100vh;
display: grid;
place-items: start center;
- padding: 32px 16px;
- gap: 16px;
+ padding: 2rem 1rem;
+ gap: 1rem;
}
.auth__grid {
- width: min(1100px, 100%);
+ width: min(700px, 100%);
display: grid;
grid-template-columns: 1fr;
- gap: 20px;
+ gap: 1.25rem;
}
.auth__card {
- background: #1f2937;
- border: 1px solid var(--gh-border);
- border-radius: 5px;
- padding: 18px;
- box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
+ background: var(--bg-card);
+ border: 1px solid var(--border-subtle);
+ border-radius: var(--radius-lg);
+ padding: 1.5rem;
+ box-shadow: var(--shadow-md);
}
.auth__header {
- margin-bottom: 12px;
+ margin-bottom: 0.75rem;
}
.auth__title {
margin: 0;
- font-size: 1.1rem;
- color: var(--gh-text);
+ font-size: 1.15rem;
+ font-weight: 700;
+ color: var(--text-primary);
+ letter-spacing: -0.2px;
}
.auth__form {
display: grid;
- gap: 8px;
- margin-bottom: 12px;
+ gap: 0.65rem;
+ margin-bottom: 0.75rem;
}
.auth__form label {
- font-size: 0.95rem;
- color: var(--gh-muted);
+ font-size: 0.88rem;
+ font-weight: 500;
+ color: var(--text-secondary);
+ margin-top: 0.5rem;
}
.auth__input {
width: 100%;
box-sizing: border-box;
- padding: 10px 12px;
- border: 1px solid var(--gh-border);
- border-radius: 5px;
- background: #1e2537;
- color: var(--gh-text);
+ padding: 0.7rem 0.9rem;
+ border: 1px solid var(--border-default);
+ border-radius: var(--radius-md);
+ background: var(--bg-input);
+ color: var(--text-primary);
+ font-family: var(--font-family);
+ font-size: 0.92rem;
outline: none;
- transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
+ transition: border-color var(--transition-fast),
+ box-shadow var(--transition-fast);
}
.auth__input:focus {
- border-color: rgba(37, 99, 235, 0.75);
- box-shadow: var(--gh-focus);
+ border-color: var(--color-primary);
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.auth__input::placeholder {
- color: var(--gh-muted);
+ color: var(--text-muted);
+}
+
+textarea.auth__input {
+ min-height: 80px;
+ resize: vertical;
+ line-height: 1.5;
}
.auth__card .auth__form:last-child {
margin-bottom: 0;
}
+/* βββ Responsive βββ */
@media (max-width: 720px) {
.auth {
- padding: 24px 12px;
+ padding: 1.5rem 0.75rem;
}
.auth__card {
- padding: 16px;
+ padding: 1.25rem;
}
}
diff --git a/assets/css/productpage.css b/assets/css/productpage.css
index c733955..352ef3b 100644
--- a/assets/css/productpage.css
+++ b/assets/css/productpage.css
@@ -1,24 +1,33 @@
-/* Gesamter Bereich */
+/* ==========================================================
+ PRODUCT PAGE β Detailed product view & shop offers
+ ========================================================== */
+
+/* βββ Wrapper βββ */
.product-wrapper {
max-width: 1200px;
- margin: 60px auto;
- padding: 0 20px;
-
+ margin: 3rem auto;
+ padding: 0 1.5rem;
display: flex;
- gap: 60px;
+ gap: 3.5rem;
}
-/* LINKER BEREICH */
+/* βββ Left Column (Image) βββ */
.product-left {
flex: 1;
}
.product-image-box {
- background: #ffffff;
- padding: 40px;
- border-radius: 14px;
- box-shadow: 0 8px 25px rgba(0,0,0,0.08);
+ background: rgba(255, 255, 255, 0.95);
+ padding: 2.5rem;
+ border-radius: var(--radius-xl);
+ border: 1px solid var(--border-subtle);
+ box-shadow: var(--shadow-md);
text-align: center;
+ transition: box-shadow var(--transition-smooth);
+}
+
+.product-image-box:hover {
+ box-shadow: var(--shadow-lg);
}
.product-image-box img {
@@ -27,173 +36,241 @@
object-fit: contain;
}
-/* RECHTER BEREICH */
+/* βββ Right Column (Details) βββ */
.product-right {
flex: 1.2;
}
-
-/* Produkttitel */
.product-title {
- font-size: 32px;
- color: white;
- font-weight: 600;
- margin-bottom: 30px;
- border-bottom: 2px solid #eaeaea;
- padding-bottom: 15px;
+ font-size: 1.85rem;
+ color: var(--text-primary);
+ font-weight: 700;
+ margin-bottom: 1.5rem;
+ padding-bottom: 1rem;
+ border-bottom: 1px solid var(--border-subtle);
+ letter-spacing: -0.5px;
+ line-height: 1.3;
}
-/* Beschreibung */
.product-desc {
- font-size: 23px;
+ font-size: 1rem;
line-height: 1.7;
- color: #ffffff;
- margin-bottom: 15px;
+ color: var(--text-secondary);
+ margin-bottom: 1.5rem;
}
-/* Spezifikationen */
.product-specs {
display: flex;
- color: #ffffff;
+ color: var(--text-primary);
flex-direction: column;
- gap: 12px;
+ gap: 0.6rem;
}
-S
-/* Einzelne Zeile */
+
+.product-specs p {
+ padding: 0.65rem 1rem;
+ background: var(--bg-surface);
+ border: 1px solid var(--border-subtle);
+ border-radius: var(--radius-md);
+ font-size: 0.92rem;
+ transition: background var(--transition-fast);
+}
+
+.product-specs p:hover {
+ background: rgba(26, 35, 50, 0.9);
+}
+
+.product-specs p strong {
+ color: var(--text-secondary);
+ font-weight: 500;
+ margin-right: 0.5rem;
+}
+
+/* βββ Spec Rows (alternative layout) βββ */
.spec-row {
display: flex;
justify-content: space-between;
- padding: 12px 16px;
- background: #f9f9f9;
- border-radius: 8px;
- transition: background 0.2s ease;
+ padding: 0.75rem 1rem;
+ background: var(--bg-surface);
+ border: 1px solid var(--border-subtle);
+ border-radius: var(--radius-md);
+ transition: background var(--transition-fast);
}
.spec-row:hover {
- background: #f0f0f0;
+ background: rgba(26, 35, 50, 0.9);
}
-/* Name links */
.spec-name {
font-weight: 500;
- color: #444;
+ color: var(--text-secondary);
}
-/* Wert rechts */
.spec-value {
font-weight: 600;
- color: #111;
+ color: var(--text-primary);
}
-/* Responsive */
+/* βββ Responsive Product Page βββ */
@media (max-width: 900px) {
.product-wrapper {
flex-direction: column;
+ gap: 2rem;
+ margin: 2rem auto;
+ }
+
+ .product-title {
+ font-size: 1.5rem;
}
}
-
-/********* SHOP OFFERS *************/
-
+/* ==========================================================
+ SHOP OFFERS
+ ========================================================== */
.shop-offers {
- margin: 50px 0 80px 0; /* unten mehr Abstand */
+ max-width: 1200px;
+ margin: 0 auto 4rem;
+ padding: 0 1.5rem;
display: flex;
- color: white;
flex-direction: column;
- gap: 14px; /* etwas enger */
+ gap: 0.75rem;
}
.shop-line {
- display: flex;
+ display: grid;
+ grid-template-columns: 250px 1fr auto;
align-items: center;
- justify-content: space-between;
-
- background: #1f2a3a;
- border: 1px solid #2f3c52;
- border-radius: 12px;
-
- padding: 12px 20px; /* vorher 20px 28px β jetzt kompakter */
- min-height: 70px; /* feste, schlanke HΓΆhe */
+ gap: 1.5rem;
+ background: var(--bg-card);
+ border: 1px solid var(--border-subtle);
+ border-radius: var(--radius-lg);
+ padding: 1rem 1.5rem;
+ transition: border-color var(--transition-fast),
+ transform var(--transition-fast),
+ box-shadow var(--transition-fast);
}
.shop-line:hover {
- background: #243248;
- transform: translateY(-3px);
- box-shadow: 0 8px 20px rgba(0,0,0,0.25);
+ border-color: var(--border-strong);
+ transform: translateY(-2px);
+ box-shadow: var(--shadow-md);
}
.shop-left {
display: flex;
align-items: center;
- gap: 28px; /* vorher ~18px */
+ gap: 1rem;
}
+
.shop-logo {
display: flex;
align-items: center;
- height: 40px; /* feste HΓΆhe */
+ height: 40px;
+ flex-shrink: 0;
}
.shop-logo img {
- max-height: 40px; /* Logo passt sich an */
- max-width: 100px; /* verhindert Γberstehen */
+ max-height: 36px;
+ max-width: 90px;
object-fit: contain;
+ border-radius: var(--radius-sm);
}
.shop-name {
- color: white;
font-weight: 600;
- font-size: 16px;
- text-decoration: none;
+ font-size: 0.95rem;
}
-.shop-name:hover {
- text-decoration: underline;
+.shop-name a {
+ color: var(--text-primary);
+ text-decoration: none;
+ transition: color var(--transition-fast);
+}
+
+.shop-name a:hover {
+ color: var(--color-primary);
}
.shop-middle {
display: flex;
align-items: center;
- gap: 55px; /* vorher ~35px β jetzt deutlich mehr Abstand */
- font-size: 14px;
- color: #cbd5e1;
+ gap: 2rem;
+ font-size: 0.88rem;
+ color: var(--text-secondary);
}
.shop-shipping {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: 2px;
+ line-height: 1.4;
}
.shop-stock {
font-weight: 500;
- display: flex;
+ display: inline-flex;
align-items: center;
gap: 6px;
+ padding: 0.3rem 0.75rem;
+ border-radius: var(--radius-full);
+ font-size: 0.82rem;
+}
+
+.shop-stock.in-stock {
+ color: var(--color-accent);
+ background: var(--color-accent-soft);
}
-/* GrΓΌn */
.shop-stock.in-stock::before {
content: "β";
- color: #22c55e;
}
-/* Rot */
+.shop-stock.out-stock {
+ color: var(--color-danger);
+ background: var(--color-danger-soft);
+}
+
.shop-stock.out-stock::before {
content: "β";
- color: #ef4444;
}
.shop-price {
- margin-left: auto;
- font-size: 18px; /* kleiner als vorher */
+ font-size: 1.35rem;
font-weight: 700;
- color: #4ade80;
+ color: var(--color-accent);
+ white-space: nowrap;
+ letter-spacing: -0.3px;
}
.no-shop {
- background: #1f2a3a;
- padding: 20px;
- border-radius: 12px;
- color: #cbd5e1;
+ background: var(--bg-card);
+ border: 1px solid var(--border-subtle);
+ padding: 2rem;
+ border-radius: var(--radius-lg);
+ color: var(--text-secondary);
text-align: center;
+ font-size: 0.95rem;
+}
+
+/* βββ Responsive Shop Offers βββ */
+@media (max-width: 900px) {
+ .shop-line {
+ grid-template-columns: 1fr;
+ gap: 0.75rem;
+ padding: 1rem;
+ }
+
+ .shop-middle {
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ }
+
+ .shop-price {
+ font-size: 1.2rem;
+ }
+}
+
+@media (max-width: 600px) {
+ .shop-offers {
+ padding: 0 1rem;
+ }
}
\ No newline at end of file
diff --git a/catbar.php b/catbar.php
index 8d6ba61..49751b9 100644
--- a/catbar.php
+++ b/catbar.php
@@ -1,12 +1,4 @@
-
-
-
-
-
-
-
-