/* ItemShop Metin2Akarys — prezentare nouă, logică PHP existentă. */

.shop-page { min-height: 100vh; background: #020607; }
.shop-page main, .shop-page .site-footer { position: relative; z-index: 1; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.shop-layout--wide { grid-template-columns: minmax(0, 1fr); }
.shop-surface { min-width: 0; }
.shop-surface .row { display: flex; flex-wrap: wrap; margin-inline: -9px; }
.shop-surface [class*="col-"] { padding-inline: 9px; }
.shop-surface h1, .shop-surface h2, .shop-surface h3, .shop-surface h4,
.shop-sidebar h2 { color: #edf5f2; font-family: "Akarys Cinzel", Georgia, serif; }
.shop-surface a { color: var(--green-soft); }
.shop-surface p, .shop-surface li, .shop-surface td, .shop-surface label { color: #a7b7b5; }

.shop-surface .section-title { margin: 0 0 24px; padding: 0 0 15px; border-bottom: 1px solid rgba(128,220,203,.11); font-size: 18px; }
.shop-surface .section-title i { margin-right: 8px; color: var(--green); }
.shop-surface .media-section + .media-section { margin-top: 24px; }
.shop-surface .card { height: calc(100% - 18px); margin-bottom: 18px; overflow: hidden; border: 1px solid rgba(77,231,201,.15); border-radius: 0; color: #aebbb9; background: linear-gradient(145deg, rgba(6,18,20,.95), rgba(8,7,14,.96)); box-shadow: 0 18px 45px rgba(0,0,0,.26); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); }
.shop-surface .card:hover { transform: translateY(-3px); border-color: rgba(70,244,207,.43); box-shadow: 0 22px 55px rgba(0,0,0,.38), 0 0 28px rgba(37,229,188,.07); }
.shop-surface .card-block, .shop-surface .card-body { padding: 22px; background: transparent; }
.shop-surface .card-header { padding: 14px 18px; border: 0; border-bottom: 1px solid rgba(128,220,203,.11); color: #e6f3ef; background: linear-gradient(90deg, rgba(15,111,91,.23), rgba(87,37,148,.2)); }
.shop-surface .card-footer { min-height: 55px; display: flex; align-items: center; justify-content: center; padding: 12px; border: 0; border-top: 1px solid rgba(128,220,203,.09); color: #dbe9e5; background: rgba(1,7,9,.55); }
.shop-surface .card-footer a { color: #dbe9e5; font-size: 13px; font-weight: 700; text-align: center; }
.shop-surface .min-image-item { min-height: 116px; display: grid; place-items: center; }
.shop-surface .image-item { max-width: 96px; max-height: 112px; image-rendering: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,.65)); }

.shop-surface input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.shop-surface select, .shop-surface textarea, .shop-surface .form-control {
  width: 100%; min-height: 48px; padding: 9px 14px; border: 1px solid rgba(109,199,183,.18); border-radius: 2px; outline: 0; color: #edf7f4; background: rgba(1,7,10,.78); box-shadow: inset 0 0 20px rgba(0,0,0,.26);
}
.shop-surface input:focus, .shop-surface select:focus, .shop-surface textarea:focus { border-color: rgba(53,244,201,.62); box-shadow: 0 0 0 3px rgba(32,224,182,.08); }
.shop-surface .btn, .shop-surface button:not(.close), .shop-surface input[type="submit"] { min-height: 44px; padding: 0 20px; border: 1px solid rgba(84,255,219,.4); border-radius: 0; color: #effffa; background: linear-gradient(110deg, rgba(20,157,130,.84), rgba(44,115,113,.74) 48%, rgba(116,42,184,.78)); font-family: "Akarys Cinzel", Georgia, serif; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.shop-surface .btn:hover, .shop-surface button:not(.close):hover { filter: brightness(1.12); }
.shop-surface .table { width: 100%; color: #aebbb9; background: rgba(1,7,10,.45); }
.shop-surface .table th, .shop-surface .table td { padding: 13px 14px; border-color: rgba(93,197,178,.11); }
.shop-category-admin-table { table-layout: fixed; }
.shop-category-admin-table .shop-category-col--image { width: 27%; }
.shop-category-admin-table .shop-category-col--name { width: 33%; }
.shop-category-admin-table .shop-category-col--action { width: 20%; }
.shop-category-admin-table th,
.shop-category-admin-table td { height: 88px; vertical-align: middle !important; text-align: center; }
.shop-category-admin-table thead th { height: auto; color: #dceae7; font: 900 12px/1.2 "Akarys Cinzel", Georgia, serif; letter-spacing: .055em; text-transform: uppercase; }
.shop-category-image-field { display: grid; grid-template-columns: 48px minmax(72px, 100px); align-items: center; justify-content: center; gap: 12px; }
.shop-category-image-field img { width: 48px; height: 48px; display: block; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.shop-category-image-field .form-control,
.shop-category-admin-table .shop-category-name { min-height: 44px; margin: 0; }
.shop-category-admin-table .shop-category-name { max-width: 230px; margin-inline: auto; }
.shop-category-action .btn,
.shop-category-action input.btn { width: 112px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin: 0 !important; padding: 0 12px !important; line-height: 1.1; }
.shop-surface .alert { border: 1px solid rgba(77,231,201,.2); border-radius: 0; color: #cbd9d6; background: rgba(8,35,34,.88); }
.shop-surface .alert-danger { border-color: rgba(255,89,106,.25); color: #ffc0c5; background: rgba(75,15,25,.45); }

.shop-admin-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; margin: 28px 0 26px; }
.shop-surface .shop-admin-actions .btn { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; padding-inline: 18px; line-height: 1.25; text-align: center; }
.shop-admin-actions .fa { flex: 0 0 auto; color: #bffcef; font-size: 15px; }

.shop-admin-control { text-align: center; }
.shop-admin-control .section-kicker { justify-content: center; }
.shop-admin-control h2 { margin: 6px auto 0; max-width: 230px; font-size: 29px; line-height: 1.06; }
.shop-admin-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 22px; }
.shop-admin-menu a { min-width: 0; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 9px 4px; border: 1px solid rgba(84, 231, 195, .16); color: #c9d8d5; background: linear-gradient(145deg, rgba(7, 25, 25, .82), rgba(17, 9, 27, .88)); font: 800 10px/1.15 "Akarys Cinzel", Georgia, serif; letter-spacing: .015em; text-align: center; transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease; clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px); }
.shop-admin-menu a:hover { transform: translateY(-2px); border-color: rgba(77, 241, 207, .48); color: #effffb; background: linear-gradient(145deg, rgba(13, 71, 63, .74), rgba(65, 25, 103, .76)); }
.shop-admin-menu .fa { color: #5ce7ca; font-size: 17px; text-shadow: 0 0 12px rgba(65, 235, 200, .26); }

.shop-inline-login { margin-top: 34px; padding: 24px; border: 1px solid rgba(171,81,255,.18); background: linear-gradient(120deg, rgba(7,28,27,.75), rgba(20,9,31,.8)); }
.shop-inline-login > div { margin-bottom: 16px; }
.shop-inline-login h3 { margin: 4px 0 0; font-size: 19px; }
.shop-inline-login form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; gap: 10px; }

.shop-wallet { display: grid; gap: 9px; margin: 20px 0; }
.shop-wallet div { padding: 13px 15px; border: 1px solid rgba(112,194,180,.11); background: rgba(2,9,12,.5); }
.shop-wallet span, .shop-wallet strong { display: block; }
.shop-wallet span { color: #738481; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.shop-wallet strong { margin-top: 4px; color: #e3f0ed; font-size: 15px; }
.shop-sidebar .account-nav { margin-top: 17px; }
.shop-item-side img { max-width: 100%; }
.shop-last-bought ul { margin: 0; padding: 0; list-style: none; }
.shop-language { text-align: right; }
.shop-language a { display: inline-block; margin-left: 7px; opacity: .5; }
.shop-language a:hover { opacity: 1; }
.shop-language img { width: 24px; height: auto; }
.shop-language p { margin: 8px 0 0; color: #58686a; font-size: 11px; }

.shop-surface .modal-content { border: 1px solid rgba(77,231,201,.2); border-radius: 0; color: #dce9e6; background: linear-gradient(145deg, rgba(3,14,16,.99), rgba(12,8,21,.99)); }
.shop-surface .modal-header, .shop-surface .modal-footer { border-color: rgba(93,197,178,.13); }

@media (max-width: 980px) {
  .shop-layout { grid-template-columns: minmax(0,1fr); }
  .shop-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .shop-surface { padding: 22px 18px; }
  .shop-surface .row { margin: 0; }
  .shop-surface [class*="col-"] { width: 100%; padding: 0; }
  .shop-inline-login form { grid-template-columns: minmax(0,1fr); }
  .shop-sidebar { grid-template-columns: minmax(0,1fr); }
  .shop-language { text-align: left; }
  .shop-admin-actions { grid-template-columns: minmax(0, 1fr); max-width: none; }
}
