/*
Theme Name: ArtPrint Gallery (Exact HTML)
Theme URI: https://example.com/
Author: You
Description: Motyw WordPress odtwarzający dokładnie dostarczony HTML/CSS/JS na stronie głównej.
Version: 1.0.0
Text Domain: artprint-gallery
*/
/* ====== SINGLE PRODUCT – przycisk "Dodaj do koszyka" ====== */

/* odstęp między ceną a przyciskiem */
.single-product div.product .summary form.cart {
  margin-top: 24px !important;
}

/* styl przycisku */
.single-product div.product .summary .single_add_to_cart_button,
.single-product div.product .summary .single_add_to_cart_button.button,
.single-product div.product .summary .single_add_to_cart_button.button.alt,
.woocommerce div.product form.cart .button.single_add_to_cart_button {
  background-color: #e5e7eb !important;  /* jasnoszare tło */
  color: #111418 !important;             /* ciemny tekst */
  border-radius: 999px !important;       /* pastylkowy kształt */
  border: 1px solid #e5e7eb !important;
  padding: 0.8rem 2.4rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.05) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* hover */
.single-product div.product .summary .single_add_to_cart_button:hover,
.single-product div.product .summary .single_add_to_cart_button.button.alt:hover {
  background-color: #d1d5db !important;
  border-color: #d1d5db !important;
  color: #111418 !important;
}
/* ====== STRONA PRODUKTU — pomniejszone zdjęcie ====== */

/* zmniejszamy kontener zdjęcia do 60% normalnej szerokości */
.single-product div.product div.images {
    max-width: 30% !important;
}

/* dopasowanie samego zdjęcia */
.single-product div.product div.images img {
    width: 100% !important;
    height: auto !important;
}

/* responsywność — na telefonach pełna szerokość */
@media (max-width: 768px) {
    .single-product div.product div.images {
        max-width: 100% !important;
    }
}
/* ====== STRONA PRODUKTU — przesunięcie zdjęcia w prawo ====== */

/* kontener zdjęcia przesuwamy w prawo */
.single-product div.product div.images {
    margin-left: 150px !important;   /* zwiększ lub zmniejsz według potrzeb */
}

/* responsywność — na telefonach wraca do lewej */
@media (max-width: 768px) {
    .single-product div.product div.images {
        margin-left: 0 !important;
    }
}
/* ====== Tytuł produktu na stronie single product ====== */

/* desktop: przesunięcie tytułu w prawo + w dół */
.single-product h1.entry-title {
    position: relative !important;
    left: 150px !important;      /* w prawo – dopasuj np. 40 / 80 */
    top: 40px !important;       /* trochę niżej */
    margin: 0 0 60px 0 !important;
}

/* mobile: wracamy do standardowego ułożenia */
@media (max-width: 768px) {
    .single-product h1.entry-title {
        left: 0 !important;
        top: 10px !important;
    }
}
/* ====== STRONA PRODUKTU — kolor linków kategorii ====== */

.single-product .product_meta a {
    color: #111418 !important;        /* czarny tekst */
    text-decoration: none !important; /* bez podkreślenia */
}

.single-product .product_meta a:hover {
    color: #000 !important;           /* lekko ciemniejszy w hover */
}
/* Obniżenie całego bloku pod zdjęciem produktu */
.single-product div.product .summary {
    margin-top: 150px !important;   /* możesz zwiększyć do 100–140 jeśli chcesz niżej */
}
/* Odstęp między polem ilości a przyciskiem Dodaj do koszyka */
.single-product div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;   /* możesz zmienić np. na 32px lub 40px */
}
/* Powiększenie ceny */
.single-product div.product .summary p.price .woocommerce-Price-amount {
    font-size: 2.0rem !important;   /* możesz zmienić np. na 2.6rem / 3rem */
    font-weight: 600 !important;
    line-height: 1.2 !important;
}
/* Zmiana koloru ceny */
.single-product div.product .summary p.price .woocommerce-Price-amount {
    color: #8a8a00 !important;   /* ← tutaj wstaw swój kolor */
}
/* Ukrywa nagłówek "Opis" w zakładce produktu */
.woocommerce-Tabs-panel h2 {
    display: none !important;
}
/* === HAMBURGER MENU === */

/* kreski przycisku */
.nav-toggle span {
  display:block;
  width:22px;
  height:2px;
  background:#111418;
  margin:4px 0;
  border-radius:999px;
  transition:transform .2s, opacity .2s;
}

/* domyślnie przycisk ukryty na desktopie */
.nav-toggle {
  display:none;
}

@media (max-width: 768px) {

  header {
    height:auto !important;
    padding:8px 0 !important;
  }

  /* pokaż hamburgera */
  .nav-toggle {
    display:block;
  }

  /* menu mobilne – domyślnie schowane */
  header .main-nav {
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    padding:12px 16px;
    display:none !important;
    flex-direction:column;
    gap:.75rem;
    border-bottom:1px solid #e5e7eb;
  }

  /* po otwarciu */
  header .main-nav.is-open {
    display:flex !important;
  }

  header .main-nav a {
    white-space:nowrap;
  }

}



