/* Checkout Upsell Sekcija */

.ucislobodno-upsell-annual {
  margin: 12px 0;
  padding: 20px;
  background: #d9d9d9;
  border-radius: 5px;
}

.ucislobodno-upsell-annual-row td {
  padding: 0;
}

.ucislobodno-upsell-annual__message {
  color: #888;
  font-size: 0.75em;
  line-height: 1.25;
}

.ucislobodno-upsell-annual[data-switch-target="monthly"] .ucislobodno-upsell-annual__message {
  margin: 0;
  padding: 3px 10px;
  border-left: 4px solid #00c349;
}

.ucislobodno-upsell-annual[data-switch-target="annual"] .ucislobodno-upsell-annual__message {
  padding: 0;
}

.ucislobodno-upsell-annual__choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ucislobodno-upsell-annual__choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ucislobodno-upsell-annual__choice--annual.ucislobodno-upsell-annual__cta {
  gap: 6px;
  padding: 10px 15px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 36px;
  text-transform: none;
}

.ucislobodno-upsell-annual__choice--annual.ucislobodno-upsell-annual__cta:hover,
.ucislobodno-upsell-annual__choice--annual.ucislobodno-upsell-annual__cta:focus {
  border-color: #9ca3af;
  background: #f9fafb;
  color: #111827;
}

.ucislobodno-upsell-annual .ucislobodno-upsell-annual__choice--annual.ucislobodno-upsell-annual__choice--current {
  display: none;
}

@media (max-width: 480px) {
  .ucislobodno-upsell-annual__choice--annual {
    flex-direction: column;
    gap: 2px;
  }
}

.ucislobodno-upsell-annual__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 7px;
  background: #4CAF50;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.ucislobodno-upsell-annual__choice--monthly.ucislobodno-upsell-annual__cta {
  display: none;
}

.ucislobodno-upsell-annual__choice--monthly.ucislobodno-upsell-annual__cta:hover,
.ucislobodno-upsell-annual__choice--monthly.ucislobodno-upsell-annual__cta:focus {
  border-color: #9ca3af;
  color: #111827;
}

/* My Account */

.ucislobodno-account-shell {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: 22px;
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
}

.ucislobodno-account-shell__nav,
.ucislobodno-account-shell__content {
  min-width: 0;
}

.woocommerce-account .ucislobodno-account-shell .woocommerce-MyAccount-content.ucislobodno-account-shell__content {
  float: none;
  width: 100%;
}

.woocommerce-account .ucislobodno-account-shell .woocommerce-notices-wrapper:empty {
  display: none;
}

.ucislobodno-account-nav ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ucislobodno-account-nav li {
  margin: 0;
}

.ucislobodno-account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 5px;
  background: #c1c9d3;
  color: #315b7c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.ucislobodno-account-nav .is-active a,
.ucislobodno-account-nav a:hover,
.ucislobodno-account-nav a:focus {
  background: #9fb0bf;
  color: #244760;
}

.ucislobodno-account-nav i {
  width: 20px;
  text-align: center;
}

.ucislobodno-account-shell__content h2,
.ucislobodno-account-shell__content h3,
.ucislobodno-account-section-title {
  margin: 0 0 16px;
  color: #2f353a;
  line-height: 1.2;
}

.ucislobodno-account-shell__content h2 {
  font-size: 28px;
}

.ucislobodno-account-shell__content h3 {
  font-size: 21px;
}

.ucislobodno-account-shell__content table.shop_table {
  width: 100%;
  margin: 0 0 24px !important;
  border: 0;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
}

.ucislobodno-account-shell__content table.shop_table th,
.ucislobodno-account-shell__content table.shop_table td {
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid #d8dde3;
  color: #343a40;
  text-align: left;
  vertical-align: middle;
}

.ucislobodno-account-shell__content table.shop_table tr:last-child th,
.ucislobodno-account-shell__content table.shop_table tr:last-child td {
  border-bottom: 0;
}

.ucislobodno-account-shell__content .membership-actions,
.ucislobodno-account-shell__content .woocommerce-orders-table__cell-order-actions,
.ucislobodno-account-shell__content .woocommerce-orders-table__header-order-actions {
  display: none;
}

.ucislobodno-subscription-products,
.ucislobodno-recent-purchases {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d8dde3;
}

.ucislobodno-subscription-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ucislobodno-subscription-product {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #f9fafb;
}

.ucislobodno-subscription-product__label {
  color: #607080;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ucislobodno-subscription-product__name {
  color: #1f2937;
  font-size: 18px;
}

.ucislobodno-subscription-product__price {
  color: #315b7c;
  font-size: 16px;
  font-weight: 700;
}

.ucislobodno-subscription-product__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 5px;
  background: #2f7d6f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ucislobodno-subscription-product__button:hover,
.ucislobodno-subscription-product__button:focus {
  background: #25675c;
  color: #fff;
}

.ucislobodno-recent-purchases__list {
  display: grid;
  gap: 10px;
}

.ucislobodno-recent-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 14px 16px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background: #f9fafb;
  color: #343a40;
  text-decoration: none;
}

.ucislobodno-recent-purchase:hover,
.ucislobodno-recent-purchase:focus {
  border-color: #aeb8c3;
  color: #1f2937;
}

.ucislobodno-recent-purchase__number {
  font-weight: 700;
}

.ucislobodno-recent-purchase__meta {
  color: #607080;
  font-size: 13px;
}

.ucislobodno-recent-purchase__total {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #1f2937;
}

.ucislobodno-account-order-detail__intro {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #343a40;
}

.ucislobodno-account-order-detail mark {
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
}

.ucislobodno-account-order-detail h2 {
  margin: 28px 0 14px !important;
}

.ucislobodno-account-order-detail h2:first-of-type {
  margin-top: 0 !important;
}

.ucislobodno-account-shell__content table.shop_table.ucislobodno-order-details-table th,
.ucislobodno-account-shell__content table.shop_table.ucislobodno-order-details-table td {
  padding: 15px 16px;
  vertical-align: top;
}

.ucislobodno-order-details-table .product-name,
.ucislobodno-order-details-table th[scope="row"] {
  color: #1f2937;
  font-weight: 700;
}

.ucislobodno-order-details-table .product-total,
.ucislobodno-order-details-table .product-name + td,
.ucislobodno-order-details-table th[scope="row"] + td {
  width: 45%;
  color: #343a40;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.ucislobodno-customer-details address,
.ucislobodno-account-address address {
  padding: 16px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background: #f9fafb;
  color: #343a40;
  font-style: normal;
}

.ucislobodno-subscription-empty {
  margin: 0 0 4px;
  color: #607080;
}

.ucislobodno-account-shell__content h2.ucislobodno-purchases-title,
.ucislobodno-account-address {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d8dde3;
}

.ucislobodno-account-address__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 9px 18px;
  border-radius: 5px;
  background: #c1c9d3;
  color: #315b7c;
  font-weight: 700;
  text-decoration: none;
}

.ucislobodno-account-address__edit:hover,
.ucislobodno-account-address__edit:focus {
  background: #9fb0bf;
  color: #244760;
}

@media (max-width: 780px) {
  .ucislobodno-account-shell {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 560px);
    padding: 16px;
  }

  .ucislobodno-subscription-products__grid,
  .ucislobodno-recent-purchase {
    grid-template-columns: 1fr;
  }

  .ucislobodno-recent-purchase__total {
    grid-row: auto;
    grid-column: auto;
  }
}