/* =========================================================
   BASE
========================================================= */
body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #444;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

input,
select,
textarea {
    width: 95%;
    padding: 8px 10px;
    margin-top: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

button {
    background: #FFE4E1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    padding: 8px 10px;
    margin-top: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* =========================================================
   HEADER
========================================================= */
.site-topbar {
    position: sticky;
    top: 0;
    z-index: 1400;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 30px rgba(43, 31, 31, 0.06);
}

.header {
    background: rgba(255, 228, 225, 0.82);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: none;
}

.header img.logo {
    height: 80px;
}

.header .title {
    font-size: 24px;
    font-weight: bold;
    color: #444;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 1px solid rgba(123, 70, 45, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 10px 20px rgba(43, 31, 31, 0.06);
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #7b5d5d;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.login-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.login-icon:hover {
    transform: translateY(-2px) scale(1.05);
}

.login-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

/* =========================================================
   MENU
========================================================= */
.menu {
    background: rgba(255, 255, 255, 0.78);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid rgba(238, 238, 238, 0.8);
}

.menu .menu-item {
    position: relative;
    text-decoration: none;
    font-size: 16pt;
    color: rgb(240, 155, 155);
    font-weight: bold;
    padding: 6px 10px;
    transition: color 0.2s ease;
}

.menu .menu-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #F9CCCD;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.menu .menu-item:hover::after,
.menu .menu-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.menu .menu-item:hover {
    color: rgb(240, 155, 155);
}

.menu-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 5px;
}

.dropdown-content a {
    display: block;
    padding: 20px 12px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background: #FFE4E1;
}

.menu-dropdown:hover .dropdown-content {
    display: block;
}

/* =========================================================
   ADMIN DASHBOARD
========================================================= */
.admin-dashboard {
    max-width: 1180px;
    margin: 40px auto 60px;
    padding: 0 24px;
    box-sizing: border-box;
}

.admin-dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at top right, rgba(249, 204, 205, 0.55), transparent 34%),
        linear-gradient(145deg, #fff8f8 0%, #ffffff 62%);
    border: 1px solid rgba(240, 155, 155, 0.16);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(72, 43, 43, 0.08);
}

.admin-dashboard-kicker {
    margin: 0 0 8px;
    color: rgb(240, 155, 155);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-dashboard-hero h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.05;
    color: #463434;
}

.admin-dashboard-intro {
    max-width: 760px;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: #6d5a5a;
}

.admin-dashboard-version-row {
    margin-top: 16px;
}

.admin-dashboard-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(240, 155, 155, 0.24);
    color: #7c5c5c;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(72, 43, 43, 0.06);
}

.admin-dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-dashboard-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-dashboard-link:hover {
    transform: translateY(-1px);
}

.admin-dashboard-link.secondary {
    background: #ffe7e8;
    color: #805454;
    box-shadow: 0 10px 24px rgba(240, 155, 155, 0.16);
}

.admin-dashboard-link.danger {
    background: linear-gradient(135deg, #d26060 0%, #b13d3d 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(178, 70, 70, 0.24);
}

.admin-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #f2e6e6;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.admin-stat-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9b7b7b;
}

.admin-stat-card strong {
    font-size: 34px;
    color: #473434;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-dashboard-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    padding: 24px;
    background: #fff;
    border: 1px solid #f0e2e2;
    border-radius: 22px;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-dashboard-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 155, 155, 0.4);
    box-shadow: 0 18px 38px rgba(240, 155, 155, 0.14);
}

.admin-dashboard-meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(240, 155, 155);
}

.admin-dashboard-card h2 {
    margin: 0;
    font-size: 24px;
    color: #483636;
}

.admin-dashboard-card p {
    margin: 0;
    line-height: 1.6;
    color: #6f5f5f;
}

.admin-dashboard-cta {
    margin-top: auto;
    font-weight: 700;
    color: #ba6d6d;
}

/* =========================================================
   GALLERY
========================================================= */
.gallery {
    width: 900px;
    column-count: 3;
    column-width: 300px;
    column-gap: 0;
    margin: 0 auto 10px auto;
}

.gallery-item {
    position: relative;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.gallery-item .thumb {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover .thumb {
    transform: scale(1.08);
}

.gallery-item .delete-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    z-index: 20;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover .delete-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* =========================================================
   DROPZONE / UPLOAD
========================================================= */
.dropzone {
    width: 100%;
    max-width: 320px;
    height: 180px;
    border: 2px dashed #aaa;
    border-radius: 10px;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
    overflow: hidden;
    position: relative;
}

.dropzone.dragover {
    border-color: #4caf50;
    background: #f1fff3;
    color: #2e7d32;
}

.preview,
.dropzone .preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}

/* =========================================================
   ABOUT
========================================================= */
.wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.about-text {
    font-size: 24px;
    line-height: 1.6;
    font-weight: bold;
    color: rgb(240, 155, 155);
    position: relative;
}

.edit-icon {
    position: absolute;
    top: 0;
    right: 0;
    text-decoration: none;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-4px);
}

.about-text:hover .edit-icon {
    opacity: 1;
    transform: translateY(0);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.social-icons img {
    width: 20px;
    height: 20px;
    display: block;
}

/* =========================================================
   ABOUT EDIT
========================================================= */
.editor-container {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

.edit-wrapper {
    width: 90%;
    max-width: 700px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.edit-wrapper h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.edit-wrapper label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.edit-wrapper textarea {
    width: 95%;
    min-height: 150px;
    resize: vertical;
    padding: 10px;
    font-family: inherit;
    font-size: 20px;
}

.edit-wrapper input[type="file"] {
    margin-top: 8px;
}

.edit-wrapper button:hover {
    background: #ffd6d6;
}

.current-about-img {
    display: block;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    margin: 10px 0 20px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fafafa;
}

/* =========================================================
   MINI CART
========================================================= */
.mini-cart {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    background: #ff6b6b;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: 1px;
    right: 1px;
}

.mini-cart-dropdown {
    position: absolute;
    right: 20px;
    top: 70px;
    width: 600px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    padding: 25px;
    display: none;
    z-index: 1001;
}

.mini-cart-price,
.mini-cart-sum,
.mini-cart-qty {
    text-align: right;
    width: 50px;
}

.mini-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.mini-cart-remove {
    cursor: pointer;
    color: #c33;
    font-weight: bold;
}

.mini-cart-remove:hover {
    color: red;
}

.mini-cart-title {
    color: #F9CCCD;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 25px;
}

.mini-cart-head {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.mini-cart-product {
    display: flex;
    text-align: left;
    width: 400px;
    gap: 6px;
    margin-bottom: 6px;
}

.mini-cart-total {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #eee;
    font-weight: bold;
    width: 565px;
    text-align: right;
}

.mini-cart-button {
    display: block;
    margin-top: 25px;
    text-align: center;
    background: #FFE4E1;
    padding: 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(240, 155, 155);
}

.mini-cart-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* =========================================================
   SHOP
========================================================= */
.shop-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.shop-filters {
    display: grid;
    gap: 16px;
}

.shop-filter-panel {
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 234, 234, 0.8), transparent 30%),
        linear-gradient(180deg, #fff7f7 0%, #ffffff 62%);
    border: 1px solid #f1dfdf;
    box-shadow: 0 16px 34px rgba(66, 33, 33, 0.06);
}

.shop-filter-copy {
    margin-bottom: 16px;
}

.shop-filter-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(240, 155, 155, 0.12);
    color: #cb7f7f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shop-filter-copy h1 {
    margin: 12px 0 6px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
    color: #473434;
}

.shop-filter-copy p {
    margin: 0;
    color: #7a6666;
    line-height: 1.6;
}

.shop-search-wrap {
    width: 100%;
    min-width: 0;
}

.shop-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-filters input[type="search"] {
    margin: 0;
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #eadede;
    background: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.shop-filters input[type="search"].active {
    border-color: #f2bebe;
    box-shadow: 0 0 0 4px rgba(255, 228, 225, 0.7);
}

.shop-filters input[type="search"]:focus {
    outline: none;
    border-color: #f0aaaa;
    box-shadow: 0 0 0 4px rgba(255, 228, 225, 0.75);
    transform: translateY(-1px);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #eadede;
    border-radius: 999px;
    cursor: pointer;
    background: #fff;
    transition: all .2s ease;
    font-size: 14px;
    font-weight: 600;
    color: #6f5f5f;
    box-sizing: border-box;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.category-chip:hover {
    transform: translateY(-1px);
    border-color: #f3c9c9;
    background: #fff6f6;
}

.category-chip.active {
    background: #FFE4E1;
    border-color: #f5c0ba;
    color: #5b4444;
}

.category-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.category-chip-toggle {
    position: relative;
    display: inline-flex;
}

.category-chip-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-chip-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    cursor: pointer;
    background: #fff;
    color: #555;
    font-size: 14px;
    box-sizing: border-box;
    transition: all .2s ease;
}

.category-chip-toggle span:hover,
.category-chip-toggle input:checked + span {
    background: #FFE4E1;
    border-color: #FFE4E1;
    color: #4d3b3b;
}

.category-chip-toggle input:focus-visible + span {
    outline: 2px solid rgba(240, 155, 155, 0.45);
    outline-offset: 2px;
}

#productsGrid {
    display: grid;
    gap: 18px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.shop-empty-message {
    margin: 8px 0 0;
    width: 100%;
    margin: 8px 0 0;
    padding: 24px 28px;
    border: 1px dashed #e9cfcf;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff8f8 0%, #fff 100%);
    color: #7a6666;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.shop-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #eadede;
    background: #fff;
    color: #6a5757;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.pagination-btn:hover {
    transform: translateY(-1px);
    background: #fff4f4;
    border-color: #f2c6c6;
}

.pagination-btn.active {
    background: #FFE4E1;
    border-color: #f5c0ba;
    color: #5b4444;
}

.pagination-btn.is-nav {
    min-width: 82px;
}

.pagination-dots {
    color: #a28d8d;
    padding: 0 4px;
}

.product-card {
    position: relative;
    background: #fff;
    border: 1px solid #efe4e4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    cursor: pointer;
}

.product-new-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 56px;
    height: auto;
    max-width: none;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #f0cfcf;
    box-shadow: 0 18px 34px rgba(0,0,0,.1);
}

.product-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 14px 14px 15px;
}

.products-grid .product-title {
    font-weight: 700;
    color: #3e3131;
    line-height: 1.3;
    margin-bottom: 6px;
}

.product-description {
    font-size: 0.92em;
    color: #786868;
    line-height: 1.5;
    min-height: 2.8em;
}

.product-price {
    color: #8a5a1d;
    margin-top: 10px;
    font-weight: 700;
}

.shop-reset-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #eadede;
    border-radius: 999px;
    background: #f7f7f7;
    color: #6f5f5f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all .2s ease;
    align-self: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
    margin: 0;
}

.shop-reset-chip:hover {
    transform: translateY(-1px);
    border-color: #f3c9c9;
    background: #fff6f6;
}

.shop-reset-chip.active {
    background: #333;
    border-color: #333;
    color: #fff;
}

@media (max-width: 640px) {
    .shop-filter-panel {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .shop-filter-actions {
        align-items: stretch;
    }

    .category-filters {
        width: 100%;
    }

    .shop-reset-chip {
        width: 100%;
    }
}

/* =========================================================
   PRODUCT / SHOP MODAL
========================================================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.22);
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease;
    text-align: center;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: rgb(240, 155, 155);
}

.modal-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.modal-content img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 24px;
    cursor: pointer;
}

.modal-price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.modal-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: nowrap; /* wichtig */
}

.modal-actions .modal-btn {
    width: auto !important;   /* überschreibt width:95% */
    min-width: 130px;
    margin: 0;
    flex: 0 0 auto;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.modal-btn.cancel {
    background: #f3f3f3;
    color: #555;
}

.modal-btn.delete {
    background: #FFE4E1;
    color: rgb(240, 155, 155);
}

.modal-content.modal-grid {
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    text-align: left;
}

.modal-left img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 8px;
    background: #fafafa;
}

.modal-right h3 {
    margin-top: 0;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 16px 0;
}

.qty-row input {
    width: 70px;
    padding: 6px 8px;
    margin: 0;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================================
   CART
========================================================= */
.cart-container {
    max-width: 1000px;
    margin: 100px auto;
    padding: 50px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.cart-table img {
    width: 70px;
    border-radius: 6px;
}

.qty-input {
    width: 60px;
}

.cart-total {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.remove-btn {
    cursor: pointer;
    color: crimson;
}

.cart-eu-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff3f3;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    font-size: 14px;
}

.eu-confirm {
    font-weight: 800;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.eu-confirm input {
    width: 40px;
    transform: scale(1.2);
    cursor: pointer;
}

/* =========================================================
   CHECKOUT BUTTON
========================================================= */
#checkoutBtn {
    display: block;
    margin-top: 25px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: #ffd0d0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

#checkoutBtn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #ffd6d1, #ffc5bd);
}

#checkoutBtn:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =========================================================
   ADMIN COMMON
========================================================= */
.admin-wrap,
.admin-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* =========================================================
   ADMIN ORDERS
========================================================= */
.status-select {
    padding: 6px;
    border-radius: 6px;
    font-weight: 600;
}

.status-new {
    background: #e5e5e5;
}

.status-processing {
    background: #ffe4b3;
}

.status-shipped {
    background: #cce5ff;
}

.status-completed {
    background: #c8f7c5;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.order-items {
    padding: 20px;
}

.order-items table {
    width: 100%;
}

.order-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.order-details {
    background: rgba(255,228,225,0.6);
    width: 100%;
}

.order-row.active,
.order-row:hover {
    background: rgba(235,208,205,0.6);
}

.order-arrow {
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: transform .2s ease;
}

/* =========================================================
   ADMIN DASHBOARD
========================================================= */
.dashboard {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    max-width: 80%;
    margin: 30px auto;
}

.dash-card {
    background: #FFE4E1;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform .15s ease;
}

.dash-card:hover {
    transform: translateY(-3px);
}

.dash-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.dash-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.dash-value {
    font-size: 28px;
    font-weight: 700;
}

.revenue-chart-container {
    max-width: 80%;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: none;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

#chartArrow {
    transition: transform .2s ease;
}

#chartBody {
    overflow: hidden;
    transition: max-height .3s ease;
    max-height: 400px;
}

.dash-chart-card {
    position: relative;
    padding-bottom: 10px;
    background: #FFE4E1;
}

.dash-chart-card canvas {
    width: 100%;
    height: 70px !important;
    margin-top: 10px;
}

.invoice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all .15s ease;
}

.invoice-btn:hover {
    background: #FFE4E1;
}

.pdf-icon {
    width: 20px;
    height: 20px;
}

/* =========================================================
   CONTACT / MAIL MODAL
========================================================= */
.contact-modal {
    max-width: 500px;
    width: min(92vw, 500px);
    padding: 28px 28px 24px;
    border-radius: 24px;
    text-align: left;
    background:
        linear-gradient(180deg, rgba(255, 245, 246, 0.96) 0%, rgba(255, 255, 255, 1) 35%),
        #fff;
    border: 1px solid rgba(240, 155, 155, 0.18);
    box-shadow:
        0 24px 60px rgba(47, 26, 30, 0.18),
        0 8px 24px rgba(240, 155, 155, 0.12);
}

.mail-modal-logo {
    max-width: 124px;
    width: 100%;
    height: auto;
    display: block;
    margin: 4px auto 14px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.contact-modal h3 {
    margin: 0 0 8px 0;
    text-align: center;
}

.contact-modal-intro {
    margin: 0 0 18px 0 !important;
    text-align: center;
    font-size: 14px !important;
    line-height: 1.6;
    color: #7b6666 !important;
}

#mailForm {
    display: grid;
    gap: 10px;
}

#mailForm label {
    display: block;
    font-weight: 600;
    text-align: left;
    color: #674d4d;
    letter-spacing: 0.01em;
}

#mailForm input,
#mailForm textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 2px;
    border-radius: 14px;
    border: 1px solid #e7d7d7;
    background: rgba(255, 255, 255, 0.96);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#mailForm input:focus,
#mailForm textarea:focus {
    outline: none;
    border-color: rgba(240, 155, 155, 0.8);
    box-shadow: 0 0 0 4px rgba(240, 155, 155, 0.14);
    transform: translateY(-1px);
}

#mailForm textarea {
    min-height: 132px;
    resize: vertical;
    line-height: 1.5;
}

#mailForm button {
    margin-top: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7b5b5 0%, #ef9c9c 100%);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(239, 156, 156, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#mailForm button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(239, 156, 156, 0.3);
    filter: saturate(1.04);
}

#mailSubmitBtn:disabled {
    background: #cfcfcf;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.mail-loader {
    margin-top: 10px;
    font-size: 14px;
    color: #7b6666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mail-loader::before {
    content: "⏳";
    display: inline-block;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    width: 100%;
    margin-top: 60px;
    padding: 20px 30px;
    background: transparent;
    border-top: none;
    box-sizing: border-box;
    font-size: 16px;
    color: #666;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    text-align: left;
    font-weight: 600;
    color: rgb(240, 155, 155);
}

.footer-links a {
    color: rgb(240, 155, 155);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-newsletter {
    text-align: left;
}

.newsletter-link {
    color: #f09b9b;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.newsletter-link:hover {
    text-decoration: underline;
}

.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1600;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(240, 155, 155, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #d98b8b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(43, 31, 31, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, background 0.18s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
    background: rgba(255, 244, 244, 0.98);
    transform: translateY(-2px);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.newsletter-modal {
    max-width: 420px;
    width: 90%;
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    position: relative;
}

.newsletter-modal h2 {
    margin-bottom: 10px;
}

.newsletter-modal p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

.newsletter-form button {
    background: #FFE4E1;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.newsletter-form button:hover {
    background: #ffd1cc;
}

.newsletter-consent {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 6px;
    align-items: start;
    text-align: left;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

.newsletter-consent input[type="checkbox"] {
    margin: 3px 0 0 0;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    border-radius: 0;
    accent-color: #f09b9b;
}

/* =========================================================
   ABOUT ME EDIT
========================================================= */
.about-edit-modal {
    max-width: 700px;
    width: 95%;
    text-align: left;
}

.about-edit-modal textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 10px;
    font-family: inherit;
    font-size: 20px;
    box-sizing: border-box;
}

.edit-logo {
    display: flex;
    justify-content: center;
    margin: 0 0 20px 0;
}

.edit-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
    .gallery {
        width: 100%;
        column-count: 2;
        column-width: auto;
    }

    .wrapper {
        grid-template-columns: 1fr;
    }

    .dashboard {
        grid-template-columns: repeat(2,1fr);
        max-width: 95%;
    }

    .revenue-chart-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 14px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .header img.logo {
        height: 58px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-actions {
        gap: 12px;
        margin-left: 0;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0 14px 14px;
        overflow: visible;
        border-bottom: 1px solid rgba(238, 238, 238, 0.8);
    }

    .menu.is-open {
        display: flex;
    }

    .menu .menu-item {
        flex: 1 1 auto;
        white-space: normal;
        font-size: 15px;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(240, 155, 155, 0.16);
    }

    .menu .menu-item::after {
        display: none;
    }

    .menu .menu-item.active {
        background: rgba(255, 228, 225, 0.88);
    }

    .site-footer {
        padding: 20px;
    }

    .scroll-to-top {
        right: 14px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-links,
    .footer-newsletter {
        text-align: left;
    }

    .mini-cart-dropdown {
        width: min(360px, calc(100vw - 24px));
        right: 12px;
        left: auto;
    }

    .modal-content.modal-grid {
        grid-template-columns: 1fr;
        width: min(100%, 520px);
        max-width: 100%;
        padding: 18px;
        gap: 14px;
    }

    .modal-left img {
        max-height: 220px;
    }

    .qty-row {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .qty-row input {
        width: 88px;
    }

    .admin-dashboard-hero {
        flex-direction: column;
    }

    .admin-dashboard-actions {
        justify-content: flex-start;
    }

    .admin-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .shop-container {
        margin: 18px auto 28px;
        padding: 0 14px;
    }

    .shop-filter-panel {
        padding: 18px 16px;
        border-radius: 20px;
        margin-bottom: 18px;
        overflow: hidden;
    }

    .shop-filters {
        gap: 14px;
        width: 100%;
    }

    .shop-filter-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .category-filters {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
        box-sizing: border-box;
        gap: 8px;
    }

    .category-chip,
    .shop-reset-chip {
        flex: 0 0 auto;
        min-height: 40px;
    }

    .shop-filters input[type="search"] {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
    }

    .shop-reset-chip {
        width: auto;
        max-width: 100%;
        align-self: flex-start;
        justify-content: center;
        padding: 0 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-card-image {
        height: 150px;
    }

    .product-info {
        padding: 12px 12px 14px;
    }

    .products-grid .product-title {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .product-description {
        font-size: 13px;
        min-height: 3.2em;
    }

    .product-price {
        font-size: 14px;
        margin-top: 8px;
    }

    .product-new-badge {
        width: 44px;
        top: 5px;
        right: 5px;
    }

    .cart-container {
        margin: 34px auto 46px;
        padding: 0 14px 24px;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .cart-table tr:first-child {
        display: none;
    }

    .cart-table tr {
        margin-bottom: 14px;
        padding: 14px;
        border: 1px solid #eee;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(0,0,0,0.04);
    }

    .cart-table td {
        padding: 8px 0;
        border-bottom: none;
        text-align: left;
    }

    .cart-table td:nth-child(1) {
        padding-top: 0;
        text-align: center;
    }

    .cart-table td:nth-child(2)::before {
        content: "Produkt";
    }

    .cart-table td:nth-child(3)::before {
        content: "Preis";
    }

    .cart-table td:nth-child(4)::before {
        content: "Menge";
    }

    .cart-table td:nth-child(5)::before {
        content: "Summe";
    }

    .cart-table td:nth-child(6)::before {
        content: "Aktion";
    }

    .cart-table td:nth-child(n+2):nth-child(-n+6)::before {
        display: block;
        margin-bottom: 4px;
        color: #887878;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .cart-table img {
        width: min(100%, 180px);
        display: inline-block;
    }

    .qty-input {
        width: 92px;
    }

    .cart-total {
        text-align: left;
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .gallery {
        column-count: 1;
    }

    .dashboard {
        grid-template-columns: 1fr;
    }

    .cart-container {
        padding: 20px;
        margin: 40px auto;
    }

    .admin-dashboard {
        padding: 0 16px;
    }

    .admin-dashboard-hero {
        padding: 22px 20px;
    }

    .admin-dashboard-hero h1 {
        font-size: 30px;
    }

    .admin-dashboard-intro {
        font-size: 15px;
    }

    .admin-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-card-image {
        height: 136px;
    }

    .shop-empty-message {
        padding: 18px 16px;
        font-size: 15px;
    }

    .pagination-btn.is-nav {
        min-width: 68px;
        padding: 0 10px;
    }
}

@media (max-width: 420px) {
    .header img.logo {
        height: 50px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-image {
        height: 180px;
    }

    .modal-content.modal-grid {
        padding: 16px;
    }

    .shop-container {
        padding: 0 12px;
    }

    .shop-filter-panel {
        padding: 16px 14px;
    }
}

/* =========================================================
   PRODUCT EDIT
========================================================= */
.product-edit-wrap {
    max-width: 1180px;
    margin: 44px auto 70px;
    padding: 0 24px;
    line-height: 1.6;
}

.product-edit-hero {
    background: linear-gradient(135deg, #fff6ef 0%, #fff 55%, #f7f1ea 100%);
    border: 1px solid rgba(123, 70, 45, 0.14);
    box-shadow: 0 24px 55px rgba(73, 39, 18, 0.11);
    border-radius: 28px;
    padding: 34px 38px;
    margin-bottom: 26px;
    text-align: center;
}

.product-edit-hero-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.product-edit-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(123, 70, 45, 0.16);
    background: rgba(255, 255, 255, 0.78);
    color: #5d4a3d;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(73, 39, 18, 0.08);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.product-edit-back-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(123, 70, 45, 0.28);
}

.product-edit-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(120, 67, 38, 0.09);
    color: #7b462d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-edit-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.05;
}

.product-edit-intro {
    margin: 0 auto;
    max-width: 700px;
    color: #6e6259;
    font-size: 16px;
}

.product-edit-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-edit-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.product-edit-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8f5 100%);
    border: 1px solid rgba(123, 70, 45, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(73, 39, 18, 0.08);
    padding: 28px;
}

.product-edit-card-main,
.product-edit-card-upload {
    grid-column: 2;
}

.product-edit-card-head {
    margin-bottom: 18px;
}

.product-edit-card-head h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.product-edit-card-head p {
    margin: 0;
    color: #716860;
    font-size: 14px;
}

.product-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(247,241,234,0.95));
    border: 1px solid rgba(123, 70, 45, 0.1);
}

.product-preview-img {
    max-width: 100%;
    max-height: 260px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
    display: block;
}

.product-preview-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.product-preview-meta strong {
    font-size: 18px;
    color: #2f2721;
}

.product-preview-meta span {
    color: #7b462d;
    font-weight: 700;
}

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

.product-edit-wrap .modal-field {
    margin-bottom: 18px;
}

.product-edit-wrap .modal-field:last-child {
    margin-bottom: 0;
}

.product-edit-wrap label:not(.digital-check) {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #3f352e;
}

.product-edit-wrap input:not([type="checkbox"]),
.product-edit-wrap select,
.product-edit-wrap textarea {
    width: 100%;
    border: 1px solid rgba(123, 70, 45, 0.16);
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-edit-wrap textarea {
    min-height: 160px;
    resize: vertical;
}

.product-edit-wrap input:not([type="checkbox"]):focus,
.product-edit-wrap select:focus,
.product-edit-wrap textarea:focus {
    outline: none;
    border-color: rgba(123, 70, 45, 0.45);
    box-shadow: 0 0 0 4px rgba(123, 70, 45, 0.11);
    transform: translateY(-1px);
}

.product-edit-wrap .category-picker {
    margin-bottom: 8px;
}

.product-edit-wrap small {
    display: block;
    color: #776c63;
}

.product-edit-options {
    display: grid;
    gap: 14px;
}

.product-edit-wrap .digital-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(123, 70, 45, 0.12);
    background: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    cursor: pointer;
}

.product-edit-wrap .digital-check input {
    width: auto;
    margin: 4px 0 0;
    transform: scale(1.1);
    cursor: pointer;
}

.product-edit-wrap .digital-check span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-edit-wrap .digital-check strong {
    color: #342b24;
}

.product-edit-wrap .digital-check small {
    color: #72675e;
}

.product-edit-card-upload .dropzone {
    width: 100%;
    box-sizing: border-box;
    min-height: 230px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,241,234,0.95));
}

.product-edit-actions {
    display: flex;
    justify-content: flex-end;
}

.product-edit-wrap button {
    width: auto;
    min-width: 220px;
    margin-bottom: 0;
    border-radius: 999px;
    padding: 14px 28px;
    box-shadow: 0 14px 28px rgba(73, 39, 18, 0.12);
}

@media (max-width: 700px) {
    .product-edit-wrap {
        padding: 0 16px;
        margin: 24px auto 50px;
    }

    .product-edit-hero,
    .product-edit-card {
        padding: 22px 20px;
    }

    .product-edit-hero-actions {
        justify-content: center;
    }

    .product-edit-grid,
    .product-edit-inline {
        grid-template-columns: 1fr;
    }

    .product-edit-card-main,
    .product-edit-card-upload {
        grid-column: auto;
    }

    .product-edit-actions {
        justify-content: stretch;
    }

    .product-edit-wrap button {
        width: 100%;
    }
}

.paypal-wrapper{
    margin-top:20px;
}

.paypal-wrapper.disabled{
    opacity:0.5;
    pointer-events:none;
}
