/*
Theme Name: MoodSupply Kacheln Theme Final
Theme URI: https://moodsupply.de
Author: MoodSupply
Author URI: https://moodsupply.de
Description: WooCommerce Theme with Mein Konto Kacheln + Endpoint Content, Hero, Products, FAQ
Version: 3.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moodsupply
*/

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
}

a {
  color: #2f8f2f;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

header, footer {
  text-align: center;
  padding: 20px;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

header nav ul li {
  display: inline-block;
}

header nav ul li a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: #111;
}

header nav ul li a:hover {
  background: rgba(47, 143, 47, 0.1);
  color: #2f8f2f;
  text-decoration: none;
}

header nav ul li.current-menu-item a {
  background: rgba(47, 143, 47, 0.15);
  color: #2f8f2f;
  font-weight: 600;
  border-radius: 6px;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: #f9f9f9;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero a.button {
  background: #2f8f2f;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  transition: 0.3s;
}

.hero a.button:hover {
  background: #246d24;
}

.kacheln {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 50px;
}

.kachel {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

footer {
  background: #f2f2f2;
  color: #555;
  font-size: 0.9rem;
  padding: 30px;
}

/* WooCommerce Shop Grid clean */
.woocommerce ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 30px !important;
  max-width: 1100px !important;
  margin: 40px auto !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product {
  flex: 0 0 320px !important;
  max-width: 350px !important;
  min-height: 400px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  text-align: center !important;
  padding: 20px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.woocommerce ul.products li.product img {
  max-width: 200px !important;
  margin: 0 auto 15px !important;
  border-radius: 6px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  margin: 10px 0 !important;
  color: #111 !important;
}

.woocommerce ul.products li.product .price {
  color: #2f8f2f !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
}

/* ✅ Clean inline button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: inline-block !important;
  background: #2f8f2f !important;
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 6px !important;
  transition: 0.3s;
  margin-top: auto !important;
  width: auto !important;
  min-width: 120px !important;
  text-align: center !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: #246d24 !important;
}

/* FAQ zentriert */
.faq {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.faq h2 {
  margin-bottom: 30px;
}

.faq p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Mein Konto Kacheln */
.account-dashboard {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:center;
  margin:40px 0;
}
.account-tile {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:25px;
  background:#f5f5f5;
  border-radius:10px;
  min-width:180px;
  max-width:220px;
  transition:all 0.3s ease;
  text-decoration:none !important;
  color:#111 !important;
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
.account-tile:hover {
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
  transform:translateY(-2px);
}
.account-tile strong {
  margin-top:8px;
  font-size:1rem;
}
.account-tile p {
  font-size:0.85rem;
  margin-top:6px;
  color:#555;
}








/* Produktseite Wrapper */
/* Produktseite Layout */
.custom-product-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto 100px auto;
    padding: 0 20px;
}

/* Bild links, groß mit runden Ecken */
.custom-product-image img {
    width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    object-fit: contain;
}

/* Textbereich rechts */
.custom-product-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Titel */
.custom-product-summary .product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Preis */
.custom-product-summary .product-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #1a8917;
}

/* Highlights (Icons + Text) */
.product-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-highlights li {
    margin: 8px 0;
    font-size: 1rem;
}

/* Add to Cart Button */
.custom-product-summary .single_add_to_cart_button {
    background: #1a8917 !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.custom-product-summary .single_add_to_cart_button:hover {
    background: #146c12 !important;
}

/* Abstand zwischen Mengenfeld und Button */
.custom-product-summary form.cart {
    display: flex;
    align-items: center;
    gap: 15px; /* Abstand zwischen Feld und Button */
}

.custom-product-summary .quantity {
    margin: 0;
}

.custom-product-summary .single_add_to_cart_button {
    margin: 0;
}

/* ==================================
   Unterer Bereich – Produktbeschreibung
   ================================== */
.product-full-description {
    max-width: 900px;
    margin: 60px auto 100px auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: left; /* Lesefreundlich linksbündig */
}

/* Überschrift zentriert */
.product-full-description .product-description-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

/* Standard Textelemente */
.product-full-description p {
    margin-bottom: 15px;
}

.product-full-description ul {
    list-style: disc inside;
    margin: 15px 0;
    padding: 0;
}
.product-full-description ul li {
    margin: 5px 0;
}

/* Optional: feiner Divider oben */
.product-full-description {
    border-top: 2px solid #f2f2f2;
}

/* Saubere Bullets in der Produktbeschreibung */
.product-full-description ul {
    list-style: disc;
    margin: 20px 0 20px 30px;
    padding: 0;
}

.product-full-description ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}










/* ================================
   WooCommerce Warenkorb – Apple Style
   ================================ */

/* Container */
.custom-cart-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Überschrift */
.custom-cart-container .cart-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}

/* Tabelle */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.cart-table th {
    background: #f9f9f9;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 16px;
    text-align: left;
    color: #333;
}
.cart-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Produktname + Bild */
.cart-table .product-name {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-table .product-name img {
    border-radius: 12px;
    max-width: 70px;
}
.cart-table .product-name span {
    font-weight: 500;
    color: #111;
}

/* Buttons Apple Style */
.custom-cart-container .button,
.custom-cart-container button.button,
.custom-cart-container input.button,
.custom-cart-container .checkout-button {
    background: #34c759 !important;   /* Apple Grün */
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.1s ease !important;
}
.custom-cart-container .button:hover,
.custom-cart-container .checkout-button:hover {
    background: #28a745 !important;   /* dunkleres Grün */
    transform: translateY(-1px) !important;
}

/* "Aktualisieren"-Button etwas kleiner */
.cart-actions .update-cart {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
}

/* Warenkorb-Summe Box */
.cart-totals {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-top: 20px;
}
.cart-totals h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #111;
}
.cart-totals table {
    width: 100%;
    border-collapse: collapse;
}
.cart-totals table th,
.cart-totals table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
}
.cart-totals .order-total strong {
    font-size: 1.2rem;
    color: #111;
}

/* Rotes Entfernen-X neben dem Preis */
/* Subtotal + Entfernen nebeneinander */
.subtotal-remove {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.subtotal-price {
    font-weight: 500;
    font-size: 1rem;
}

/* Rotes Entfernen-X */
.woocommerce-cart .remove-inline {
    color: #fff !important;
    background: #e74c3c !important;
    border-radius: 50%;
    font-size: 1rem;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease;
}
.woocommerce-cart .remove-inline:hover {
    background: #c0392b !important;
}

.woocommerce-cart .remove-inline:hover {
    background: #c0392b !important;
}







/* Mobile Optimierung */
@media (max-width: 768px) {
    .cart-table th,
    .cart-table td {
        padding: 12px;
        font-size: 0.9rem;
    }
    .custom-cart-container .checkout-button {
        width: 100%;
        margin-top: 15px;
    }
}






/* ================================
   Checkout – Apple Style
   ================================ */

.custom-checkout-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.checkout-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}

/* Altes WooCommerce Gutschein-Hinweisfeld ausblenden */
.woocommerce-form-coupon-toggle {
    display: none !important;
}

/* Neues Gutschein-Feld */
.checkout-coupon {
    margin-bottom: 30px;
    text-align: center;
}
.checkout-coupon label {
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}
.checkout-coupon form {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.checkout-coupon input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 1rem;
    width: 220px;
    transition: border 0.2s ease;
}
.checkout-coupon input:focus {
    border-color: #34c759;
    outline: none;
}
.checkout-coupon .button {
    background: #34c759 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 600;
    cursor: pointer;
}
.checkout-coupon .button:hover {
    background: #28a745 !important;
}

/* Eingabefelder – nebeneinander */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.woocommerce-billing-fields__field-wrapper p,
.woocommerce-shipping-fields__field-wrapper p {
    margin: 0;
}
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.2s ease;
}
.woocommerce input.input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
    border-color: #34c759;
    outline: none;
}

/* Bestellübersicht */
.checkout-order-review {
    margin-top: 40px;
}
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}
.woocommerce-checkout-review-order-table th {
    background: #f9f9f9;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Bestellbutton */
#place_order {
    background: #34c759 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    width: 100%;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.1s ease;
}
#place_order:hover {
    background: #28a745 !important;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}








/* Checkbox für Rechnungsadresse */
.same-address-checkbox {
    margin: 20px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}
.same-address-checkbox input {
    margin-right: 8px;
    transform: scale(1.2);
}
.same-address-checkbox span {
    font-weight: 500;
}








/* ================================
   WooCommerce Product Tabs – Apple Style
   ================================ */
.woocommerce-tabs {
  max-width: 900px;
  margin: 60px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  padding: 20px 30px;
}

/* Tab-Navigation */
.woocommerce-tabs .tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-bottom: 2px solid #f2f2f2;
  gap: 30px;
}

.woocommerce-tabs .tabs li {
  margin: 0;
}

.woocommerce-tabs .tabs li a {
  display: inline-block;
  padding: 12px 18px;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
}

.woocommerce-tabs .tabs li.active a {
  color: #2f8f2f;
  font-weight: 600;
  border-bottom: 3px solid #2f8f2f;
}

.woocommerce-tabs .tabs li a:hover {
  color: #2f8f2f;
}

/* Tab-Inhalte */
.woocommerce-Tabs-panel {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.woocommerce-Tabs-panel h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}






/* Grundpreis Styling */
.woocommerce .grundpreis {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* Auf Produktseite (unter dem Hauptpreis) */
.single-product .grundpreis {
  font-size: 0.95rem;
  color: #555;
}

/* Im Warenkorb & Checkout */
.woocommerce-cart .grundpreis,
.woocommerce-checkout .grundpreis {
  font-size: 0.85rem;
  color: #777;
}









