/* Hides Parent Account number on My Account Menu */
body > div.customertools.new.open > div > div.switch-account-new.small.hidden > table > tbody > tr:nth-child(3) > td:nth-child(1) {
    display: none;
}
body > div.customertools.new.open > div > div.switch-account-new.small.hidden > table > tbody > tr:nth-child(3) > td:nth-child(2) {
    display: none;
}

/* Hides User ID on profile page */
span.id-card {
    display: none
}

/* Hides Advanced User Settings  */
body > div.page-content > section > div.myaccount-title > div > div.col-md-8 > ul > li:nth-child(2) {
    display: none;
}
#approverInfo > div:nth-child(5) {
    display: none;
}
#approverInfo > div:nth-child(6) {
    display: none;
}
#approverInfo > div:nth-child(8) {
    display: none;
}
#aBudgets {
    display: none;
}
#aApprovers {
    display: none;
}

/* Hides Internal Order Notes from Orders and Invoices  */
#orderView > section > div:nth-child(6) > div.col-lg-12 > div > table > tbody > tr:nth-child(2) {
    display: none;
}

/* Hides Tax Analysis from Orders Page  */
#orderView > section > div:nth-child(8) > div:nth-child(1) > div {
    display: none;
}

/* Hide terms from orders page */
.ex-order section.myorderview #order-top .customer-orders-terms,
.ex-order section.myorderview #order-top .customer-orders-route,
.ex-order section.myorderview #order-top .customer-orders-salesperson {
  display: none;
}

/* Orders Page Top Notes */
body > div.page-content > section.myorders > div.row.tab-content:before {
content: "Click on an order number to start a return.";
font-size: 20px;
font-weight: bold;
display: block;
color: #a6302a;
padding: 0 15px ;
}

#orderView > section > div:nth-child(7):before {
   content: "If the return option isn’t displaying, the order may be beyond the returnable date.";
    font-size: 22px; /
  font-weight: bold;
    display: block;
}
#orderView > section > div:nth-child(7):before {
    color: #a6302a;
}

#returnForm > div > div > div.modal-body > p:before {
   content: "Non-returnable items will not display – contact customer service for help.";
    font-size: 22px; /
  font-weight: bold;
    display: block;
}
#returnForm > div > div > div.modal-body > p:before {
    color: #a6302a;
}

/* Hides Terms on Account Details page */
body > div.page-content > section > div.row.tab-content > div:nth-child(2) > div:nth-child(2) > div > table > tbody > tr:nth-child(3) > td {
    display: none
}

/* Hides Tax Analysis on Orders page */
#orderView > section > div:nth-child(9) > div:nth-child(1) {
    display: none;
}


/* Card Flip Code:--- 1. Scoped Styling --- */
/* Perspective allows the 3D effect */
body.ex-casinox #grid {
    perspective: 1000px;
}
/* --- 2. Card Structure (Updated for spacing) --- */
/* The Tile becomes the 3D container */
body.ex-casinox .tile {
    position: relative;
    transform-style: preserve-3d;
    height: auto !important; /* Ensure content defines height */
    border: none !important; /* Move border to card-front if needed, or keep logic simple */
    background: transparent !important; /* Let inner cards handle bg */
}
/* The Flipper Wrapper */
body.ex-casinox .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Added bounce for fun */
}
/* Common styles for Front and Back */
body.ex-casinox .card-front,
body.ex-casinox .card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 6px; /* Match your site's rounding */
    box-sizing: border-box;
}
/* The Front (Original Content) */
body.ex-casinox .card-front {
    position: relative;
    z-index: 2;
    background: #fff;
    /* Re-apply standard tile styling here since we made parent transparent */
    border: 1px solid #e1e1e1; 
    padding: 10px; /* Adjust padding if your tiles look squashed */
    height: 100%;
}
/* The Back (The Image) */
body.ex-casinox .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    z-index: 1;
    
    background-image: url('https://us.evocdn.io/dealer/1596/content/media/My_Banners/Supplies/cardback.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
/* --- 3. JavaScript States --- */
/* State: FLIPPED (Triggered on parent) */
body.ex-casinox .tileparent.is-flipped .card-inner {
    transform: rotateY(180deg);
}
/* State: WINNER */
body.ex-casinox .tileparent.is-winner .card-inner {
    transform: rotateY(0deg);
}
/* Glow effect for winner */
body.ex-casinox .tileparent.is-winner .card-front {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    border-color: #ffd700;
}
/* --- 4. Controls & Overlay (Same as before) --- */
#draw-countdown-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Darker for better focus */
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#draw-timer-text {
    font-size: 10rem;
    font-weight: 900;
    color: #fff;
    font-family: sans-serif;
    animation: popIn 0.5s ease-out;
}
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.casino-controls { margin-bottom: 20px; text-align: center; }
.btn-draw {
    background-color: #d9534f; color: white; padding: 12px 24px; font-size: 18px;
    border: none; cursor: pointer; border-radius: 4px; margin: 5px;
    transition: background 0.3s;
}
.btn-draw:hover { background-color: #c9302c; }
.btn-draw:disabled { background-color: #e6a09d; cursor: not-allowed; }

.btn-reset {
    background-color: #337ab7; color: white; padding: 12px 24px; font-size: 18px;
    border: none; cursor: pointer; border-radius: 4px; margin: 5px;
}
.btn-reset:hover { background-color: #286090; }

/* Hide Options from master products' variants */
td.variant-product-options {
    display: none;
}
.col-xs-12.product-compare-action {
    display: none;
}

/* Hide Required Piece badge except for master products */
.ribbon-wrapper.b1491,
.ribboncart-wrapper.b1491 {
  display: none !important;
}
body.ex-product-master .ribbon-wrapper.b1491 {
  display: block !important; /* Or 'flex' if needed, but 'block' should work */
}

/* Add Sticky header EvoX */
@media only screen and (min-height: 768px) {
.menubarStick {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 15;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.headersection-1.menubarStick > .row-2 {
    max-width: 1450px;
    margin: 0 auto;
}
.menubarHeader {
    padding-top:113px;
}
}