/*
Theme Name: Hello Commerce MSSPORT
Theme URI: https://mssport.rs/
Description: Child theme for Hello Commerce customized for MSSPORT.
Author: MSSPORT
Author URI: https://mssport.rs/
Template: hello-commerce
Version: 1.0.0
Text Domain: hello-commerce-mssport
*/

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --mssport-red: #C1121F;
  --mssport-red-hover: #E11D2E;
  --mssport-black: #0A0A0A;
  --mssport-charcoal: #171717;
  --mssport-steel: #2A2A2A;
  --mssport-white: #F5F5F5;
  --mssport-muted: #B8B8B8;
  --mssport-font-main: 'Rajdhani', sans-serif;
  --mssport-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --mssport-shadow-cta: 0 10px 24px rgba(193, 18, 31, 0.28);
}

body,
.elementor-kit,
.elementor-widget-heading,
.elementor-widget-text-editor,
.elementor-button,
input,
textarea,
select {
  font-family: var(--mssport-font-main);
}

.ehp-flex-footer__site-link-container a {
	align-self: center;
	justify-self: center;
	display: block !important;
	margin: 0 0 20px 0;
}

.mssport-promo-actions .mssport-promo-btn {
	color: #FFF !important;
}

/* Promo floating bar always above header */
.ms-floating-bar,
.floating-bar,
.announcement-bar,
.top-promo-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    width: 100%;
}

/* Header is always below promo bar */
.site-header,
header,
.header,
.elementor-location-header {
    z-index: 9999;
}

/* Ako bar koristi fixed umesto sticky */
body.has-floating-bar {
    padding-top: 62px;
}


.mssport-product-extra {
    margin-top: 40px;
}

.mssport-product-info-card,
.mssport-size-chart-card {
    margin-top: 32px;
    padding: 32px;
    border-radius: 24px;
    background: #111;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.mssport-product-info-card h3,
.mssport-size-chart-head h3 {
    margin: 0 0 22px;
    color: #e30613;
    font-size: 24px;
    font-weight: 800;
}

.mssport-product-info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mssport-product-info-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.65;
}

.mssport-product-info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e30613;
    box-shadow: 0 0 12px rgba(227,6,19,0.6);
}

.mssport-product-maintenance {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(227,6,19,0.12);
    border: 1px solid rgba(227,6,19,0.35);
}

.mssport-product-maintenance strong {
    color: #e30613;
}

.mssport-size-chart-head span {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
}

.mssport-size-chart-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) 1.2fr;
    gap: 32px;
    align-items: center;
}

.mssport-shirt-diagram {
    background: #fff;
    border-radius: 22px;
    padding: 34px 24px;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mssport-shirt {
    position: relative;
    width: 220px;
    height: 260px;
}

.mssport-shirt-body {
    position: absolute;
    left: 48px;
    top: 55px;
    width: 124px;
    height: 180px;
    border: 3px solid #222;
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

.mssport-shirt-sleeve {
    position: absolute;
    top: 48px;
    width: 72px;
    height: 68px;
    border: 3px solid #222;
    background: #fff;
}

.mssport-shirt-sleeve.left {
    left: 0;
    transform: skewY(-16deg);
    border-right: 0;
}

.mssport-shirt-sleeve.right {
    right: 0;
    transform: skewY(16deg);
    border-left: 0;
}

.mssport-shirt-neck {
    position: absolute;
    left: 76px;
    top: 42px;
    width: 68px;
    height: 34px;
    border: 3px solid #222;
    border-top: 0;
    border-radius: 0 0 50px 50px;
    background: #fff;
}

.mssport-arrow {
    position: absolute;
    color: #e30613;
    font-weight: 800;
    font-size: 13px;
}

.mssport-arrow span {
    background: #fff;
    padding: 3px 6px;
}

.mssport-arrow-height {
    left: 22px;
    top: 76px;
    height: 156px;
    border-left: 3px solid #e30613;
}

.mssport-arrow-height::before,
.mssport-arrow-height::after {
    content: "";
    position: absolute;
    left: -7px;
    width: 11px;
    height: 11px;
    border-left: 3px solid #e30613;
    border-top: 3px solid #e30613;
}

.mssport-arrow-height::before {
    top: -2px;
    transform: rotate(45deg);
}

.mssport-arrow-height::after {
    bottom: -2px;
    transform: rotate(225deg);
}

.mssport-arrow-height span {
    position: absolute;
    left: -34px;
    top: 58px;
    transform: rotate(-90deg);
    white-space: nowrap;
}

.mssport-arrow-width {
    left: 58px;
    top: 132px;
    width: 104px;
    border-top: 3px solid #e30613;
    text-align: center;
}

.mssport-arrow-width::before,
.mssport-arrow-width::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 11px;
    height: 11px;
    border-left: 3px solid #e30613;
    border-top: 3px solid #e30613;
}

.mssport-arrow-width::before {
    left: -1px;
    transform: rotate(-45deg);
}

.mssport-arrow-width::after {
    right: -1px;
    transform: rotate(135deg);
}

.mssport-arrow-width span {
    position: relative;
    top: -28px;
}

.mssport-size-table-wrap {
    overflow-x: auto;
}

.mssport-size-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.mssport-size-table th {
    padding: 14px 16px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    background: #e30613;
}

.mssport-size-table th:first-child {
    border-radius: 14px 0 0 14px;
}

.mssport-size-table th:last-child {
    border-radius: 0 14px 14px 0;
}

.mssport-size-table th span {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
}

.mssport-size-table td {
    padding: 16px;
    text-align: center;
    background: #1c1c1c;
    font-size: 22px;
    font-weight: 800;
}

.mssport-size-table td:first-child {
    border-radius: 14px 0 0 14px;
    color: #e30613;
}

.mssport-size-table td:last-child {
    border-radius: 0 14px 14px 0;
}

.mssport-size-table td {
    color: #111 !important;
}

.mssport-size-table td:first-child {
    color: #e30613 !important;
}

.mssport-size-table th {
    color: #fff !important;
}

.mssport-size-table th span {
    color: rgba(255,255,255,0.85) !important;
}

@media (max-width: 768px) {
    .mssport-product-info-card,
    .mssport-size-chart-card {
        padding: 22px;
    }

    .mssport-size-chart-grid {
        grid-template-columns: 1fr;
    }

    .mssport-shirt-diagram {
        min-height: 320px;
    }
}

.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 420px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product a img {
        height: 320px !important;
    }
}

.mss-footer {
  background:
    radial-gradient(circle at center, rgba(190, 0, 20, 0.22), transparent 34%),
    #050505;
  color: #fff;
  text-align: center;
  padding: 70px 20px 0;
  border-top: 4px solid #d50016;
}

.mss-footer__inner {
  max-width: 760px;
  margin: 0 auto;
}

.mss-footer__logo {
  max-width: 130px;
  margin-bottom: 24px;
}

.mss-footer__text {
  margin: 0 auto 28px;
  max-width: 720px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.7;
}

.mss-footer__links,
.mss-footer__contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.mss-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.mss-footer a:hover {
  color: #ff1028;
}

.mss-footer__contact a {
  color: #ff1028;
}

.mss-footer__social {
  margin: 28px 0 52px;
}

.mss-footer__social a {
  width: 54px;
  height: 54px;
  border: 2px solid #ff1028;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff1028;
  font-size: 22px;
}

.mss-footer__bottom {
  background: #000;
  padding: 20px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .mss-footer {
    padding-top: 50px;
  }

  .mss-footer__links,
  .mss-footer__contact {
    gap: 14px;
    flex-direction: column;
  }
}

.mss-size-tables h4 {
    color: #ed0016;
    margin: 18px 0 12px;
    font-size: 20px;
}

.mss-size-tables table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.mss-size-tables th {
    background: #ed0016;
    color: #fff;
    padding: 16px;
    text-align: left;
}

.mss-size-tables td {
    background: #fff;
    color: #111;
    padding: 16px;
    font-weight: 800;
    text-align: center;
}

.mss-size-image img {
    width: 100%;
    border-radius: 18px;
}