/*
Theme Name: CakeShop Child
Template: storefront

*/

/* Reset layoutu */
@media (min-width: 768px) {
  body.right-sidebar .content-area {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
  #secondary.widget-area {
    display: none !important;
  }
}

.col-full {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .col-full {
    margin: 0;
  }
}

#primary {
  width: 100% !important;
}

.content-area,
.site-main {
  margin-bottom: 0 !important;
}

/* breadcrumbs */
.woocommerce-breadcrumb a:before {
  display: none !important;
}

.woocommerce-breadcrumb {
  font-family: var(--font-family-body-basic);
  font-size: var(--font-size-10);
  line-height: var(--line-height-10);
  font-weight: var(--font-weight-300);
  text-decoration: none !important;
  display: flex;
  column-gap: 16px;
  row-gap: 8px;
  padding: 16px 0;
  flex-direction: row;
  flex-wrap: wrap;
}

.woocommerce-breadcrumb a,
a.woocommerce-review-link,
.product_meta a {
  color: var(--black--05);
  text-decoration: none !important;
}

.cs-breadcrumb-sep {
  color: var(--black--05);
}

body.woocommerce-cart header.entry-header,
body.woocommerce-checkout header.entry-header {
  display: none !important;
}

/* Testowo */
/* Testowo */
/* Testowo */
/* Testowo */
/* Testowo */
/* Testowo */
/* Testowo */
/* Testowo */
/* Testowo */
/* ===== Core reset / base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* links */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* buttons (zdejmij czarną obwódkę) */
button,
input[type="button"],
input[type="submit"],
a.button,
.button {
  border: 0;
  outline: none;
  box-shadow: none;
  /* background: var(--main--03, #c2185b);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px; */
  cursor: pointer;
}
button:focus-visible,
a.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--main--03, #c2185b) 55%, #fff);
  outline-offset: 2px;
}

/* basic table (Woo attributes) */
table {
  width: 100%;
  border-collapse: collapse;
}

/* Woo gallery safety */
.woocommerce-product-gallery {
  max-width: 100%;
}
.woocommerce-product-gallery__wrapper {
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

input {
  width: -webkit-fill-available;
}

/* kolor zaznaczenia */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--main--03, #c2185b);
}

/* rozmiar ~20px (działa w większości przeglądarek) */
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
}

/* jeśli gdzieś width/height nie działa (stare Safari/niestandardowe reset-y) */
@supports not (accent-color: auto) {
  input[type="checkbox"],
  input[type="radio"] {
    transform: scale(1); /* dobierz pod 20px */
    transform-origin: left center;
  }
}

del {
  font-size: var(--font-size-14) !important;
  line-height: var(--line-height-14) !important;
  font-weight: var(--font-weight-300) !important;
  color: var(--black--05) !important;
}

span.woocommerce-Price-amount.amount {
  text-decoration: none !important;
}

ins {
  text-decoration: none;
}
