.sf-open-panel span {
  opacity:0.7;
  font-size:1.2em;
  font-weight: 300;
  font-family: "Inter", sans-serif;
  text-transform:none;
}


/* Button/Link to open Accessories panel 
------------------------------------------------*/
.sf-open-panel[data-open-panel="accessories"] {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	margin-bottom:30px;
  font-size:0.85em;
	font-weight:600;
  color:inherit;
  text-transform: uppercase;
}
.sf-open-panel[data-open-panel="accessories"]::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  width: auto;
  height: auto;
  font-size: 32px;
  flex-shrink: 0;
  font-weight:500;
  transition:transform 0.5s ease-out;
  max-height: 32px!important;
}
.sf-open-panel[data-open-panel="accessories"]:hover::before {
  transform: rotate(90deg);
}

/* LIST - scrollable area 
------------------------------------------------*/
.sf-panel-list {
    width:100%;
}

/* ITEM
---------------------*/
.sf-panel-item {
    display: flex;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid #F7F6F4;
	  align-items:center;
	  transition:all 0.3s ease-out;
}
.sf-panel-item:hover {
  background:#FAF7F4;
}

.sf-panel-item-thumb-info-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    min-width: 0; /* za elipse */
}

.sf-panel-item-thumb {
	border: 1px solid #d9d9d9;
}

.sf-panel-item-thumb img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.sf-panel-item-title {
    font-size:1em;
    font-weight: 500;
}

.sf-panel-item-price,
.sf-panel-item-price *,
.sf-panel-item-price .sale-price del {
	font-size:1em;
}
.sf-panel-item-price ins {
	font-weight:600;
}

/* QTY */
.sf-panel-item-controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
	  max-width:105px;
    border-width: 1px 0px;
    border-style:solid;
    border-color: #E7E7E7;
    min-height:50px;
    flex-wrap:nowrap

}

.sf-panel-item-controls button {
    display:flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 999px;
	  width:32px;
	  min-width:32px;
    height:32px;
    line-height: 32px;
    font-family: "Inter", sans-serif!important;
}

.sf-panel-item-controls button:hover {
    background: #E9DBC933;
}

.sf-panel-item-controls button span {
    display:none;
}
.sf-panel-item-controls button::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../assets/icons/icon-plus.svg);
}
.sf-panel-item-controls button.sf-qty-minus::before {
    background-image: url(../assets/icons/icon-minus.svg);
}
/*
.sf-panel-item:hover .sf-panel-item-controls button {
	color:#FFF;
	background: var(--theme-palette-color-11);
}
  */

.sf-qty-input {
    width: 50px;
    text-align: center;
	  background:none!important;
    border: none!important;
    font-size: 16px;
    font-weight:600;
    line-height: 1;
    font-family: "Inter", sans-serif!important;
}

/* FOOTER */
.sf-panel-footer {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap:24px;
    /*border-top: 1px solid #e5e5e5;*/
}

/* Buttons in side panel footer
---------------------------------------*/
.sf-panel-clear,
.sf-panel-save {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    cursor: pointer;
    flex: 1;
    text-transform: uppercase;
    border-radius:4px;
}
.sf-panel-clear {
    background: none;
    border: solid 1px var(--theme-palette-color-1);
    font-weight: 600;
    color: var(--theme-palette-color-4)!important;
}
.sf-panel-clear:hover {
    background: #E9DBC933;
}
.sf-panel-save {
    background-color: var(--theme-palette-color-11);
    border: none;
    font-size: 17px;
    font-weight: 600;
}

.sf-panel-clear::before,
.sf-panel-save::before {
    position: relative;
    z-index: 1;
    display: inline-block;
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    inset-inline: 0px;
    inset-block: 0;
    opacity: 1;
    border-radius: inherit;
    transition: opacity .2s ease;
    filter: blur(0);
}
.sf-panel-save:hover {
    background: #E1C6A3;
}
.sf-panel-clear::before {
    background-image: url(../assets/icons/icon-trash.svg);
}
.sf-panel-save::before {
    background-image: url(../assets/icons/icon-circle-check.svg);
}


/* ===== Accessory summary (compact) ===== */

.sf-accessory-summary {
  margin: -15px 0 32px;
  padding: 0;
  background: #fff;
}

.sf-accessory-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sf-accessory-summary h3 {
  margin: 0 0 0px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
}
.sf-accessory-summary-edit-selection-link {
  font-size: 13px;
  font-weight:500;
}
.sf-accessory-summary-edit-selection-link a {
  text-decoration:none;
  color: var(--theme-palette-color-4)!important;
}
.sf-accessory-summary-edit-selection-link a::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-size:contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(../assets/icons/icon-chevron.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin-left: 4px;
  opacity:0.7;
  transform:rotate(180deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sf-accessory-summary-edit-selection-link a:hover::after {
  transform:translateX(3px) rotate(180deg);
}


/* reset */
.sf-accessory-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* item row */
.sf-accessory-summary li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: center;
  padding: 8px 0;
  /*border-top: 1px solid #f1f1f1;*/
}
/*.sf-accessory-summary li:first-child { border-top: 0; }*/

/* thumbnail */
.sf-accessory-summary img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid #d9d9d9;
  background: #FFF;
}

/* text column */
.sf-accessory-summary .info {
  min-width: 0; /* za overflow ellipsis */
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0px;
  row-gap: 2px;
  align-items: center;
}

/* title – ena vrstica, elipse */
.sf-accessory-summary .title {
  grid-column: 1 / 3;
  /*
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  */
}

/* qty levo, price desno */
.sf-accessory-summary .qty {
  font-size:0.9em;
  opacity:0.7;
}

.sf-accessory-summary .price {
  text-align: right;
  white-space: nowrap;
  font-size:1em!important;
}

/* Woo price bits – malo kompaktnejše */
.sf-accessory-summary .price del {
  color: #9a9a9a;
  margin-right: 6px;
}
.sf-accessory-summary .price ins {
  text-decoration: none;
  font-weight: 400;
}

/* droben UI polish */
@media (max-width: 480px) {
  .sf-accessory-summary { padding: 10px; }
  .sf-accessory-summary li { grid-template-columns: 42px 1fr; }
  .sf-accessory-summary img { width: 42px; height: 42px; }
}

