body {
  font-family: Aptos, Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* HEADER & ICONS (use .header-inner in all pages for logo/basket alignment) */
.header, header {
  width: 100%;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
}

.header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-btn,
.logo-link {
  border: none;
  background: none;
  padding: 0;
  margin-left: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-btn img,
.logo-link img,
.logo {
  height: 80px;
  transition: transform 0.16s;
}

.logo-btn:active img,
.logo-btn:hover img,
.logo-link:active img,
.logo-link:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.header-right-icons,
.right-icons,
.basket {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 32px;
  height: 100%;
}

.basket-icon,
.basket {
  position: relative;
}

.basket-icon img,
.basket img {
  height: 50px;
  width: 50px;
}

.basket-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff99cc;
  color: #000000;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 12px;
}

.instagram-icon img,
.instagram img {
  height: 30px;
  width: 30px;
}

@media (max-width: 600px) {
  .header,
  header {
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    flex-direction: row;
    justify-content: flex-start;
  }

  .header-inner {
    min-height: 120px;
    max-height: 120px;
    height: 120px;
  }

  .logo-btn,
  .logo-link {
    margin-left: 8px;
  }
  .header-right-icons,
  .right-icons,
  .basket {
    margin-right: 8px;
    gap: 12px;
  }
  .logo-btn img,
  .logo-link img,
  .logo {
    height: 60px;
  }
  .basket-icon img,
  .basket img {
    height: 36px;
    width: 36px;
  }
  .instagram-icon img,
  .instagram img {
    height: 24px;
    width: 24px;
  }
}

/* HEADER CONTROLS (filter/sort/search/about) */
.header-controls-outer,
.header-controls {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.header-controls-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dropdown {
  position: relative;
}
.dropdown button {
  background-color: #f8f9fa;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 150px;
  padding: 5px 0;
}
.dropdown-menu a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}
.dropdown-menu a:hover {
  background-color: #f0f0f0;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.aboutme-link,
.about-link {
  color: #000;
  text-decoration: none;
  background-color: transparent;
  border: none;
  font-size: 14px;
  padding: 5px 10px;
  cursor: pointer;
}
.aboutme-link:hover,
.aboutme-link:focus,
.about-link:hover,
.about-link:focus {
  color: #000;
  text-decoration: none;
  background-color: #f0f0f0;
}
.search-form {
  display: flex;
  align-items: center;
  margin: 0;
  position: relative;
  width: 220px;
  min-width: 0;
}
.search-form input[type="text"] {
  padding: 5px 12px 5px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  transition: width 0.2s;
}
.search-clear-x {
  display: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 17px;
  color: #999;
  background: none;
  border: none;
  outline: none;
  padding: 0 2px;
  z-index: 2;
  line-height: 1;
}
.search-form.has-text .search-clear-x {
  display: block;
}

@media (max-width: 600px) {
  .header-controls-outer,
  .header-controls,
  .header-controls-row,
  .wide-only {
    display: none !important;
  }
  .narrow-only {
    display: flex !important;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .centered-row-top {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .centered-row-bottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
  }
  .dropdown.sorting-dropdown {
    display: none !important;
  }
  .search-form {
    width: auto;
    min-width: 0;
    max-width: 100vw;
    justify-content: center;
  }
  .search-form input[type="text"] {
    width: 15ch !important;
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 400px) {
  .centered-row-top, .centered-row-bottom { gap: 3px; }
  .search-form input[type="text"] { width: 15ch !important; }
}

/* FILTER INFO - Centered and less gap */
.filter-info {
  text-align: center;
  margin: 28px 0 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.filter-info h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 4px 0;
  padding: 0;
  text-align: center;
}
.filter-info p {
  font-size: 14px;
  color: #555;
  margin: 0 0 0 0;
  padding: 0;
  text-align: center;
}

.artist-presentation {
  position: relative;
  width: 100%;
  height: 300px;
  margin-top: 120px;
  overflow: hidden;
}
.artist-presentation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artist-presentation .artist-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

/* ITEMS GRID AND BOXES */
.items,
.items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin: 8px auto 20px auto;
  max-width: 1300px;
}

.item {
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 18px 12px 18px 12px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  max-width: 260px;
  min-width: 260px;
  width: 260px;
  min-height: 430px;
  max-height: 430px;
  height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.1s;
  position: relative;
}

.item:hover {
  box-shadow: 0 5px 24px 0 rgba(255,179,218,0.17);
  transform: translateY(-2px) scale(1.022);
}
.item img {
  max-width: 100%;
 
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
}
.item-text {
  font-weight: 600;
  font-size: 1.07em;
  margin-bottom: 7px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-color {
  font-size: 0.97em;
  color: #555;
  margin-bottom: 8px;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.item-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.item-price {
  color: #222;
  font-weight: bold;
  margin-bottom: 0px;
  font-size: 1.07em;
}
.add-to-basket {
  padding: 6px 7px;
  background: #ffb3da;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  width: 90%;
  max-width: 200px;
  font-size: 1em;
  text-decoration: none;
  display: inline-block;
}
.add-to-basket:hover {
  background: #ff99ce;
}
.highlight-item {
  outline: 3px solid #ffb3da;
  box-shadow: 0 0 12px #ffb3da;
  transition: outline 0.2s, box-shadow 0.2s;
}

@media (max-width: 1200px) {
  .items, .items-container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .items, .items-container {
    max-width: 700px;
  }
}
@media (max-width: 700px) {
  .items, .items-container {
    max-width: 100vw;
    gap: 14px;
  }
  .item {
    min-width: 260px;
    max-width: 260px;
    width: 260px;
  }
}
@media (max-width: 600px) {
  .items, .items-container {
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .item {
    min-width: 260px;
    max-width: 260px;
    width: 260px;
    padding: 12px 5px;
    height: 430px;
    max-height: 430px;
    min-height: 430px;
  }
}

/* ABOUT PAGE & ABOUT SECTION (Om mig) */
.about-section {
    max-width: 850px;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    padding: 36px 24px 24px 24px;
    box-shadow: 0 0 12px rgba(0,0,0,0.07);
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    align-items: flex-start;
}
.about-image {
    flex: 0 0 260px;
    max-width: 260px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 8px #e9e3d2;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.about-text {
    flex: 1 1 300px;
    font-size: 1.13em;
    color: #333;
    line-height: 1.65; /* Default, can be overridden inline */
}
.about-text strong {
    font-size: 1.18em;
    color: #b76e79;
}
@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
    .about-image {
        max-width: 250px;
        margin-bottom: 16px;
    }
    .about-text {
        font-size: 1.06em;
    }
}
@media (max-width: 600px) {
    .artist-presentation {
        height: 200px;
        margin-top: 100px;
    }
    .about-section {
        padding: 18px 5vw;
    }
}

/* DETAILS PAGE IMAGE ZOOM */
.zoom-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 12px auto;
}
.zoom-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: none;
  user-select: none;
}
.zoom-image.zoomed {
  cursor: zoom-in;
}
.item-color-desc {
  color: #555;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 1em;
  font-style: italic;
}

/* THUMBNAILS (details) */
.thumbnails {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.thumbnails img {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 5px;
  object-fit: cover;
}
.thumbnails img:hover {
  border-color: #000;
}

/* DETAILS CONTAINER */
.container {
  margin-top: 140px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px;
  border: 1px solid #ccc;
  border-radius: 15px;
  flex-direction: column;
  align-items: center;
  display: block;
  box-sizing: border-box;
  text-align: center;
  max-width: 420px;
  width: 100%;
  background: #fff;
}

/* ZOOM CONTAINER for main image */
.zoom-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 12px auto;
  overflow: hidden;
  border-radius: 10px;
  background: #eee;
  aspect-ratio: 1 / 1; /* always square, works in all modern browsers */
}

.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  user-select: none;
  display: block;
  transition: transform 0.12s cubic-bezier(.4,2,.6,1);
  will-change: transform;
  pointer-events: auto;
}

/* Thumbnails */
.thumbnails {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.thumbnails img {
  width: 70px;
  height: 70px;
  max-width: 70px;
  max-height: 70px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 5px;
  object-fit: cover;
  transition: border 0.15s;
}

.thumbnails img:hover {
  border-color: #000;
}

@media (max-width: 600px) {
  .container {
    max-width: 98vw;
    padding: 8px;
  }
  .zoom-container {
    max-width: 95vw;
    min-width: 220px;
    aspect-ratio: 1 / 1;
  }
  .thumbnails img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }
  .thumbnails {
    gap: 8px;
    justify-content: center;
  }
}

/* BASKET PAGE - matches header and layout */
.basket-container {
  width: 100%;
  margin-bottom: 20px;
}
.basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #000;
  margin-bottom: 10px;
  padding: 10px;
  background: #fff;
}
.basket-item.sold {
  color: #c00 !important;
  border-color: #c00 !important;
  background-color: #ffeaea !important;
}
.basket-item .basket-item-image-link {
  display: inline-block;
}
.basket-item img {
  width: 50px;
  height: 50px;
}
.basket-item-description {
  flex: 1;
  margin-left: 10px;
  font-size: 16px;
}
.basket-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.basket-item-actions img {
  width: 20px;
  height: 20px;
}
.basket-item-price {
  font-weight: bold;
  text-align: center;
}
.basket-buttons {
  display: flex;
  text-align: right;
  justify-content: space-between;
  margin-top: 20px;
}
.basket-buttons a {
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  color: #000000;
  background-color: #ffb3da;
}
.basket-buttons a:hover {
  background-color: #ff99ce;
}
.purchase-button {
  display: block;
  width: auto;
  float: right;
  padding: 5px 15px;
  background: #ffb3da;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin-right: 20px;
}
.purchase-button:hover {
  background-color: #ff99ce;
}
.total-price {
  text-align: right;
  margin-bottom: 10px;
}
.sold-message {
  color: #c00;
  font-weight: bold;
  background: #ffeaea;
  border: 1px solid #c00;
  padding: 10px;
  margin-bottom: 20px;
}

/* Popup message */
.popup-message {
  display: block;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  border-radius: 5px;
  text-align: center;
}